diff options
author | Samuel Rødal <sroedal@trolltech.com> | 2009-06-09 08:54:42 (GMT) |
---|---|---|
committer | Samuel Rødal <sroedal@trolltech.com> | 2009-06-09 10:48:12 (GMT) |
commit | 73ea2f5766d2c0925af1bee7037610c2c75e89c4 (patch) | |
tree | bf7a45ed39dc9fca8125fe22a7ea230149d72e10 | |
parent | d6f171c9baa61858aea0db36fd8b1bd3219ffd0b (diff) | |
download | Qt-73ea2f5766d2c0925af1bee7037610c2c75e89c4.zip Qt-73ea2f5766d2c0925af1bee7037610c2c75e89c4.tar.gz Qt-73ea2f5766d2c0925af1bee7037610c2c75e89c4.tar.bz2 |
Resolved FBO extensions as well when resolving GL 2 extensions.
The new GL 2 text drawing requries the FBO function pointers to be
resolved.
-rw-r--r-- | src/opengl/qglextensions.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/opengl/qglextensions.cpp b/src/opengl/qglextensions.cpp index 3c198fb..10ca613 100644 --- a/src/opengl/qglextensions.cpp +++ b/src/opengl/qglextensions.cpp @@ -337,6 +337,9 @@ bool qt_resolve_version_2_0_functions(QGLContext *ctx) if (!qt_resolve_version_1_3_functions(ctx)) gl2supported = false; + if (!qt_resolve_framebufferobject_extensions(ctx)) + gl2supported = false; + if (glStencilOpSeparate) return gl2supported; |