Check for the proper extension for anisotropic filtering
Change-Id: I881fccea3af74ead14f523c7c54a405a15ea29ab Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
This commit is contained in:
parent
7a377fe379
commit
bfc3d41894
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user