diff options
Diffstat (limited to 'src/opengl/qopenglframebufferobject_p.h')
-rw-r--r-- | src/opengl/qopenglframebufferobject_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qopenglframebufferobject_p.h b/src/opengl/qopenglframebufferobject_p.h index df87734a58..3721e2affa 100644 --- a/src/opengl/qopenglframebufferobject_p.h +++ b/src/opengl/qopenglframebufferobject_p.h @@ -67,7 +67,7 @@ public: target(GL_TEXTURE_2D), mipmap(false) { -#ifndef QT_OPENGL_ES_2 +#if !QT_CONFIG(opengles2) // There is nothing that says QOpenGLFramebufferObjectFormat needs a current // context, so we need a fallback just to be safe, even though in pratice there // will usually be a context current. |