diff options
| author | Sean Harmer <sean.harmer@kdab.com> | 2012-10-10 13:13:56 +0100 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-28 17:11:28 +0100 |
| commit | 2c8c0cb33aa8137186e8dde8ecff856a5fbf0c55 (patch) | |
| tree | 458d7bbc1fcdc76a6876055aee0cc6c24627bcdf /src/gui/opengl/qopengl.h | |
| parent | 05a61de622917ba67986afff6288c05a34ff5a90 (diff) | |
OpenGL: Reinstate support for OpenGL geometry shaders
Unlike QGLShader, this requires the OpenGL 3.2 core implementation
of geometry shaders to keep the API simple.
Change-Id: Icb07f430c4c5b5d950bcf6f7119becec4cfaad8a
Reviewed-by: James Turner <james.turner@kdab.com>
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'src/gui/opengl/qopengl.h')
| -rw-r--r-- | src/gui/opengl/qopengl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/opengl/qopengl.h b/src/gui/opengl/qopengl.h index 049bb232078..1f99738a9f6 100644 --- a/src/gui/opengl/qopengl.h +++ b/src/gui/opengl/qopengl.h @@ -103,6 +103,7 @@ typedef GLfloat GLdouble; #if !defined(QT_OPENGL_ES_2) # if !defined(Q_OS_MAC) || (defined(Q_OS_MAC) && MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7) # define QT_OPENGL_3 +# define QT_OPENGL_3_2 # endif #endif |
