diff options
Diffstat (limited to 'src/opengl/qopenglversionfunctions.h')
-rw-r--r-- | src/opengl/qopenglversionfunctions.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/qopenglversionfunctions.h b/src/opengl/qopenglversionfunctions.h index 47e7e37d3a..a28a3c5d14 100644 --- a/src/opengl/qopenglversionfunctions.h +++ b/src/opengl/qopenglversionfunctions.h @@ -240,7 +240,7 @@ inline QAbstractOpenGLFunctionsPrivate *QAbstractOpenGLFunctionsPrivate::get(QAb return q->d_func(); } -#if !defined(QT_OPENGL_ES_2) +#if !QT_CONFIG(opengles2) class QOpenGLFunctions_1_0_CoreBackend : public QOpenGLVersionFunctionsBackend { @@ -1894,7 +1894,7 @@ public: // No need for backend classes with function pointers with ES2. // All function addresses are independent of context and display. -#endif // !QT_OPENGL_ES_2 +#endif // !QT_CONFIG(opengles2) #undef QT_OPENGL_DECLARE_FUNCTIONS #undef QT_OPENGL_COUNT_FUNCTIONS |