diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-09-17 01:22:05 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-09-17 01:22:05 (GMT) |
commit | 7d4026fb6efe84cda30c44e998a5bd0bdbc5e004 (patch) | |
tree | bf5d1861d389be75fa07192e84e7458c64f00dd1 /src/opengl/qglextensions.cpp | |
parent | 031498abcef715ab5db5379c0f03c03bce3e2364 (diff) | |
download | Qt-7d4026fb6efe84cda30c44e998a5bd0bdbc5e004.zip Qt-7d4026fb6efe84cda30c44e998a5bd0bdbc5e004.tar.gz Qt-7d4026fb6efe84cda30c44e998a5bd0bdbc5e004.tar.bz2 |
Revert "Added support for subpixel antialiasing on text in the GL2 engine."
Breaks the GL2 paint engine on X11 and OpenGL/ES 2.0.
This reverts commit b8ff02a67ebd8246253823b53cfed98eef400547.
Diffstat (limited to 'src/opengl/qglextensions.cpp')
-rw-r--r-- | src/opengl/qglextensions.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/opengl/qglextensions.cpp b/src/opengl/qglextensions.cpp index c785d8a..3699d62 100644 --- a/src/opengl/qglextensions.cpp +++ b/src/opengl/qglextensions.cpp @@ -391,9 +391,8 @@ 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 (!glBlendColor || !glStencilOpSeparate) + if (!glStencilOpSeparate) gl2supported = false; return gl2supported; |