src/gl/compiler.cpp

changeset 115
ed884a2fb009
parent 80
764381756899
child 119
24275a4064f4
--- a/src/gl/compiler.cpp	Tue Jul 27 09:56:06 2021 +0300
+++ b/src/gl/compiler.cpp	Tue Jul 27 11:11:32 2021 +0300
@@ -142,7 +142,9 @@
 	{
 		log += "\n" + QObject::tr("Vertex shader:") + "\n" + shaderProgram->log();
 	}
-	const bool fragmentShaderCompiled = shaderProgram->addShaderFromSourceCode(QOpenGLShader::Fragment, fragmentShaderSource);
+	const bool fragmentShaderCompiled = shaderProgram->addShaderFromSourceCode(
+		QOpenGLShader::Fragment,
+		fragmentShaderSource);
 	if (not fragmentShaderCompiled)
 	{
 		log += "\n" + QObject::tr("Fragment shader:") + "\n" + shaderProgram->log();

mercurial