diff options
Diffstat (limited to 'src/opengl/qopengltexturehelper_p.h')
-rw-r--r-- | src/opengl/qopengltexturehelper_p.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/qopengltexturehelper_p.h b/src/opengl/qopengltexturehelper_p.h index a62a47d029..d3c17c33a4 100644 --- a/src/opengl/qopengltexturehelper_p.h +++ b/src/opengl/qopengltexturehelper_p.h @@ -628,7 +628,7 @@ public: int val = 0; functions->glGetIntegerv(GL_UNPACK_ALIGNMENT, &val); options.setAlignment(val); -#if !defined(QT_OPENGL_ES_2) +#if !QT_CONFIG(opengles2) functions->glGetIntegerv(GL_UNPACK_SKIP_IMAGES, &val); options.setSkipImages(val); functions->glGetIntegerv(GL_UNPACK_SKIP_ROWS, &val); @@ -651,7 +651,7 @@ public: inline void setPixelUploadOptions(const QOpenGLPixelTransferOptions &options) { functions->glPixelStorei(GL_UNPACK_ALIGNMENT, options.alignment()); -#if !defined(QT_OPENGL_ES_2) +#if !QT_CONFIG(opengles2) functions->glPixelStorei(GL_UNPACK_SKIP_IMAGES, options.skipImages()); functions->glPixelStorei(GL_UNPACK_SKIP_ROWS, options.skipRows()); functions->glPixelStorei(GL_UNPACK_SKIP_PIXELS, options.skipPixels()); |