diff options
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/opengl/qopengltexture.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/opengl/qopengltexture.cpp b/src/gui/opengl/qopengltexture.cpp index 6e2e72a3b4..e0e1c72a6c 100644 --- a/src/gui/opengl/qopengltexture.cpp +++ b/src/gui/opengl/qopengltexture.cpp @@ -2446,9 +2446,8 @@ bool QOpenGLTexture::hasFeature(Feature feature) break; case TextureBuffer: - supported = f.version() >= qMakePair(4, 3) - || (ctx->hasExtension(QByteArrayLiteral("GL_ARB_texture_buffer_object")) - && ctx->hasExtension(QByteArrayLiteral("GL_ARB_texture_buffer_range"))); + supported = f.version() >= qMakePair(3, 0) + || ctx->hasExtension(QByteArrayLiteral("GL_ARB_texture_buffer_object")); break; case StencilTexturing: |