summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglextensions.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-03-12 08:00:34 (GMT)
committerGunnar Sletta <gunnar@trolltech.com>2009-04-01 14:35:46 (GMT)
commit1ada6800efbbca276441b3b170b1ccfa0c09c20a (patch)
tree5687624d88cb06adaedbf48db03eb70c732b3fad /src/opengl/qglextensions.cpp
parent4d4580b5f43adb22b6ba95f49698efcd5dbdfeae (diff)
downloadQt-1ada6800efbbca276441b3b170b1ccfa0c09c20a.zip
Qt-1ada6800efbbca276441b3b170b1ccfa0c09c20a.tar.gz
Qt-1ada6800efbbca276441b3b170b1ccfa0c09c20a.tar.bz2
Fixes: Add blitting and multisample API to QGLFramebufferObject.
RevBy: Trond Details: Support GL_EXT_framebuffer_multisample and GL_EXT_framebuffer_blit in the QGLFramebufferObject API.
Diffstat (limited to 'src/opengl/qglextensions.cpp')
-rw-r--r--src/opengl/qglextensions.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/opengl/qglextensions.cpp b/src/opengl/qglextensions.cpp
index b054fe8..e6ac043 100644
--- a/src/opengl/qglextensions.cpp
+++ b/src/opengl/qglextensions.cpp
@@ -74,6 +74,9 @@ bool qt_resolve_framebufferobject_extensions(QGLContext *ctx)
glGetFramebufferAttachmentParameterivEXT =
(_glGetFramebufferAttachmentParameterivEXT) ctx->getProcAddress(QLatin1String("glGetFramebufferAttachmentParameterivEXT"));
glGenerateMipmapEXT = (_glGenerateMipmapEXT) ctx->getProcAddress(QLatin1String("glGenerateMipmapEXT"));
+ glBlitFramebufferEXT = (_glBlitFramebufferEXT) ctx->getProcAddress(QLatin1String("glBlitFramebufferEXT"));
+ glRenderbufferStorageMultisampleEXT =
+ (_glRenderbufferStorageMultisampleEXT) ctx->getProcAddress(QLatin1String("glRenderbufferStorageMultisampleEXT"));
return glIsRenderbufferEXT;
#else
Q_UNUSED(ctx);