diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-09-08 12:30:19 (GMT) |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-09-21 14:21:18 (GMT) |
commit | 1b34feacef7a2d3ac005449a7cfbcb08a6bbf947 (patch) | |
tree | 939e0efa6c753c6fa963044a364942953c09f05a /src/opengl/qglextensions.cpp | |
parent | 423cbcf1a26ce208d5440ffa0c7cd150ccfd8b3a (diff) | |
download | Qt-1b34feacef7a2d3ac005449a7cfbcb08a6bbf947.zip Qt-1b34feacef7a2d3ac005449a7cfbcb08a6bbf947.tar.gz Qt-1b34feacef7a2d3ac005449a7cfbcb08a6bbf947.tar.bz2 |
Resubmit support for subpixel antialiasing on text in the GL2 engine.
The antialiasing is currently not gamma corrected and is disabled on
OpenGL ES 2.0.
Reviewed-by: Samuel
Diffstat (limited to 'src/opengl/qglextensions.cpp')
-rw-r--r-- | src/opengl/qglextensions.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/opengl/qglextensions.cpp b/src/opengl/qglextensions.cpp index 3699d62..c785d8a 100644 --- a/src/opengl/qglextensions.cpp +++ b/src/opengl/qglextensions.cpp @@ -391,8 +391,9 @@ bool qt_resolve_version_2_0_functions(QGLContext *ctx) if (glStencilOpSeparate) return gl2supported; + glBlendColor = (_glBlendColor) ctx->getProcAddress(QLatin1String("glBlendColor")); glStencilOpSeparate = (_glStencilOpSeparate) ctx->getProcAddress(QLatin1String("glStencilOpSeparate")); - if (!glStencilOpSeparate) + if (!glBlendColor || !glStencilOpSeparate) gl2supported = false; return gl2supported; |