summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2011-05-11 14:24:45 +0200
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2011-05-11 14:24:45 +0200
commit587f7f753a97ecf5b9c5b2ee7e562699331010bc (patch)
treecce3c40e1ee5ce6f2b7d55c5f3e4bd45ec91346b /src
parent7fce0a73cc9b099c4ca67b3bc2e8bbe3060230c6 (diff)
Fix to commit 7fce0a73cc9b099c4ca67b3bc2e8bbe3060230c6.
Diffstat (limited to 'src')
-rw-r--r--src/opengl/qglfunctions.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opengl/qglfunctions.cpp b/src/opengl/qglfunctions.cpp
index e478fa7a4c..173dd6838e 100644
--- a/src/opengl/qglfunctions.cpp
+++ b/src/opengl/qglfunctions.cpp
@@ -223,6 +223,7 @@ static int qt_gl_resolve_features()
QGLFunctions::CompressedTextures |
QGLFunctions::Multisample |
QGLFunctions::StencilSeparate;
+ QGLExtensionMatcher extensions;
if (extensions.match("GL_OES_texture_npot"))
features |= QGLFunctions::NPOTTextures;
if (extensions.match("GL_IMG_texture_npot"))