Fix to commit 7fce0a73cc9b099c4ca67b3bc2e8bbe3060230c6.
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>
Wed, 11 May 2011 12:24:45 +0000 (14:24 +0200)
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>
Wed, 11 May 2011 12:24:45 +0000 (14:24 +0200)
src/opengl/qglfunctions.cpp

index e478fa7..173dd68 100644 (file)
@@ -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"))