diff options
author | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-02-04 15:02:42 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@theqtcompany.com> | 2015-02-04 15:22:59 +0000 |
commit | bfc3d41894b054afef32b78e2d9c2c3ffe6aa5ce (patch) | |
tree | c85ced51b9b97c8ef0915a16b27fcca14f7709f8 /src | |
parent | 7a377fe3798bc33342c413a2db4af9994565a511 (diff) |
Check for the proper extension for anisotropic filtering
Change-Id: I881fccea3af74ead14f523c7c54a405a15ea29ab
Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/opengl/qopengltexture.cpp | 2 |
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; } |