summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gui/opengl/qopengltexture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/opengl/qopengltexture.cpp b/src/gui/opengl/qopengltexture.cpp
index 903cfb2bf8..db4557d68d 100644
--- a/src/gui/opengl/qopengltexture.cpp
+++ b/src/gui/opengl/qopengltexture.cpp
@@ -3847,7 +3847,7 @@ void QOpenGLTexture::setMaximumAnisotropy(float anisotropy)
d->create();
Q_ASSERT(d->texFuncs);
Q_ASSERT(d->textureId);
- if (!d->features.testFlag(StencilTexturing)) {
+ if (!d->features.testFlag(AnisotropicFiltering)) {
qWarning("QOpenGLTexture::setMaximumAnisotropy() requires GL_EXT_texture_filter_anisotropic");
return;
}