summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglframebufferobject.cpp
diff options
context:
space:
mode:
authorOlivier Goffart <olivier.goffart@nokia.com>2010-09-22 15:13:04 (GMT)
committerOlivier Goffart <olivier.goffart@nokia.com>2010-09-22 15:13:04 (GMT)
commitc9dfb50c7d718028a1d24fdf78fdb61aa61866ca (patch)
treec0d49d28e99ca29c56fe0695f61a062553dcd4e5 /src/opengl/qglframebufferobject.cpp
parent88b5af89e35584f12330bc6932176d5df413d1b1 (diff)
downloadQt-c9dfb50c7d718028a1d24fdf78fdb61aa61866ca.zip
Qt-c9dfb50c7d718028a1d24fdf78fdb61aa61866ca.tar.gz
Qt-c9dfb50c7d718028a1d24fdf78fdb61aa61866ca.tar.bz2
Fix compilation
Reviewed-by: Kim
Diffstat (limited to 'src/opengl/qglframebufferobject.cpp')
-rw-r--r--src/opengl/qglframebufferobject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/opengl/qglframebufferobject.cpp b/src/opengl/qglframebufferobject.cpp
index ba23cab..6c9b288 100644
--- a/src/opengl/qglframebufferobject.cpp
+++ b/src/opengl/qglframebufferobject.cpp
@@ -543,14 +543,14 @@ void QGLFramebufferObjectPrivate::init(QGLFramebufferObject *q, const QSize &sz,
GL_STENCIL_INDEX8_EXT, size.width(), size.height());
#else
glRenderbufferStorageMultisampleEXT(GL_RENDERBUFFER_EXT, samples,
- GL_STENCIL_INDEX_EXT, size.width(), size.height());
+ GL_STENCIL_INDEX, size.width(), size.height());
#endif
} else {
#ifdef QT_OPENGL_ES
glRenderbufferStorage(GL_RENDERBUFFER_EXT, GL_STENCIL_INDEX8_EXT,
size.width(), size.height());
#else
- glRenderbufferStorage(GL_RENDERBUFFER_EXT, GL_STENCIL_INDEX_EXT,
+ glRenderbufferStorage(GL_RENDERBUFFER_EXT, GL_STENCIL_INDEX,
size.width(), size.height());
#endif
}