summaryrefslogtreecommitdiffstats
path: root/src/opengl/qglframebufferobject.cpp
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2010-09-22 10:12:57 (GMT)
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2010-09-22 10:15:18 (GMT)
commit4035ec3e9ed5ef904dd6f22adaf5e9deb24e9455 (patch)
treeb0b10aa74d719ffe75b3039b191423defe06172b /src/opengl/qglframebufferobject.cpp
parenta7c28aa588417c0a75f82d55019814443f889340 (diff)
downloadQt-4035ec3e9ed5ef904dd6f22adaf5e9deb24e9455.zip
Qt-4035ec3e9ed5ef904dd6f22adaf5e9deb24e9455.tar.gz
Qt-4035ec3e9ed5ef904dd6f22adaf5e9deb24e9455.tar.bz2
Revert "Fixed painter path drawing on FBO without stencil buffer."
This reverts commit 89cbb165600de9a557a8a621dc41b93c2a7a2b52. The patch should be applied to Qt 4.8, not 4.7.
Diffstat (limited to 'src/opengl/qglframebufferobject.cpp')
-rw-r--r--src/opengl/qglframebufferobject.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/opengl/qglframebufferobject.cpp b/src/opengl/qglframebufferobject.cpp
index 7c84946..ba23cab 100644
--- a/src/opengl/qglframebufferobject.cpp
+++ b/src/opengl/qglframebufferobject.cpp
@@ -324,10 +324,6 @@ void QGLFBOGLPaintDevice::setFBO(QGLFramebufferObject* f,
fboFormat.setStencil(true);
} else if (attachment == QGLFramebufferObject::Depth) {
fboFormat.setDepth(true);
- fboFormat.setStencil(false);
- } else {
- fboFormat.setDepth(false);
- fboFormat.setStencil(false);
}
GLenum format = f->format().internalTextureFormat();