summaryrefslogtreecommitdiff
path: root/src/threed/effects/qglshaderprogrameffect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/threed/effects/qglshaderprogrameffect.cpp')
-rw-r--r--src/threed/effects/qglshaderprogrameffect.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/threed/effects/qglshaderprogrameffect.cpp b/src/threed/effects/qglshaderprogrameffect.cpp
index 5efe91e6b..ef51d8abe 100644
--- a/src/threed/effects/qglshaderprogrameffect.cpp
+++ b/src/threed/effects/qglshaderprogrameffect.cpp
@@ -1002,7 +1002,8 @@ void QGLShaderProgramEffect::setFragmentShader(const QByteArray &source)
/*!
Sets the type of primitive the program's geometry shader is expecting to
- recieve from the vertex shader. The default value is GL_TRIANGLE_STRIP.
+ recieve from the vertex shader to \a drawingMode. The default value is
+ GL_TRIANGLE_STRIP.
If the program has no geometry shader, this has no effect.
*/
@@ -1013,8 +1014,8 @@ void QGLShaderProgramEffect::setGeometryInputType(GLenum drawingMode)
}
/*!
- Sets what sort of primitives the program's geometry shader will produce.
- The default value is GL_TRIANGLE_STRIP.
+ Sets what sort of primitives the program's geometry shader will produce
+ to \a drawingMode. The default value is GL_TRIANGLE_STRIP.
If the program has no geometry shader, this has no effect.
*/