summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglextensions.cpp
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-08-31 23:34:08 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-08-31 23:34:08 (GMT)
commit4f72c6385b8d348611a907e6a8533de055188729 (patch)
treef7c70b26b618d792ad0fa9c326b147d89d8952ce /src/opengl/qglextensions.cpp
parent709c4df621f637bc81127e7c1a8bd59d0f2f04e4 (diff)
downloadQt-4f72c6385b8d348611a907e6a8533de055188729.zip
Qt-4f72c6385b8d348611a907e6a8533de055188729.tar.gz
Qt-4f72c6385b8d348611a907e6a8533de055188729.tar.bz2
be51485f missed some instances of qt_get_extension_funcs
Reviewed-by: trustme
Diffstat (limited to 'src/opengl/qglextensions.cpp')
-rw-r--r--src/opengl/qglextensions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/qglextensions.cpp b/src/opengl/qglextensions.cpp
index e1ab6a4..a883c42 100644
--- a/src/opengl/qglextensions.cpp
+++ b/src/opengl/qglextensions.cpp
@@ -175,10 +175,10 @@ bool qt_resolve_glsl_extensions(QGLContext *ctx)
#if defined(QT_OPENGL_ES_2)
// The GLSL shader functions are always present in OpenGL/ES 2.0.
// The only exceptions are glGetProgramBinaryOES and glProgramBinaryOES.
- if (!QGLContextPrivate::qt_get_extension_funcs(ctx).qt_glslResolved) {
+ if (!QGLContextPrivate::extensionFuncs(ctx).qt_glslResolved) {
glGetProgramBinaryOES = (_glGetProgramBinaryOES) ctx->getProcAddress(QLatin1String("glGetProgramBinaryOES"));
glProgramBinaryOES = (_glProgramBinaryOES) ctx->getProcAddress(QLatin1String("glProgramBinaryOES"));
- QGLContextPrivate::qt_get_extension_funcs(ctx).qt_glslResolved = true;
+ QGLContextPrivate::extensionFuncs(ctx).qt_glslResolved = true;
}
return true;
#else