summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/zlib/zconf.h
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2010-05-26 14:39:02 (GMT)
committerSamuel Rødal <samuel.rodal@nokia.com>2011-04-05 07:10:36 (GMT)
commit2f59eaeee1fbe33d07b0e7d0747afd8658df95ac (patch)
tree900f0a504d26e901fb7134ed52179ec8617ccbe4 /src/3rdparty/zlib/zconf.h
parent07df7ee20a0f3027516ad03465a2fb7b7e38e864 (diff)
downloadQt-2f59eaeee1fbe33d07b0e7d0747afd8658df95ac.zip
Qt-2f59eaeee1fbe33d07b0e7d0747afd8658df95ac.tar.gz
Qt-2f59eaeee1fbe33d07b0e7d0747afd8658df95ac.tar.bz2
Made extension resolving work with Core profile.
The Core profile was introduced in OpenGL 3.2 and if chosen removes all deprecated functionality from the OpenGL API. In the Core profile glGetString(GL_EXTENSIONS) is unsupported, so instead we need to use glGetStringi(GL_EXTENSIONS, index) together with glGetIntegerv(GL_NUM_EXTENSIONS). Also optimized the QGLExtensionMatcher to not have to recompute the split positions all the time. Preliminary support to prevent non-core-functions to be called in the GL 2 engine has also been added. Reviewed-by: Kim
Diffstat (limited to 'src/3rdparty/zlib/zconf.h')
0 files changed, 0 insertions, 0 deletions