diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-09-05 01:34:21 (GMT) |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-09-05 01:34:39 (GMT) |
commit | 8aea7e0764f1e1495e78f9298d006a600a6db395 (patch) | |
tree | 68dc0405f19b287975c81dc7fbe0513f6ad2ae00 /src/opengl/qwindowsurface_gl.cpp | |
parent | 6c3f538a0657bd7b00f32934234395682623c17a (diff) | |
parent | b504a21a7d62b24ac5f16cb3f1a88479da1499d5 (diff) | |
download | Qt-8aea7e0764f1e1495e78f9298d006a600a6db395.zip Qt-8aea7e0764f1e1495e78f9298d006a600a6db395.tar.gz Qt-8aea7e0764f1e1495e78f9298d006a600a6db395.tar.bz2 |
Merge branch '4.6' into master
Diffstat (limited to 'src/opengl/qwindowsurface_gl.cpp')
-rw-r--r-- | src/opengl/qwindowsurface_gl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/opengl/qwindowsurface_gl.cpp b/src/opengl/qwindowsurface_gl.cpp index f974938..a85b9ae 100644 --- a/src/opengl/qwindowsurface_gl.cpp +++ b/src/opengl/qwindowsurface_gl.cpp @@ -569,7 +569,7 @@ void QGLWindowSurface::updateGeometry() QGLFramebufferObjectFormat format; format.setAttachment(QGLFramebufferObject::CombinedDepthStencil); - format.setInternalFormat(GLenum(GL_RGBA)); + format.setInternalTextureFormat(GLenum(GL_RGBA)); format.setTextureTarget(target); if (QGLExtensions::glExtensions & QGLExtensions::FramebufferBlit) |