diff options
author | Jani Hautakangas <jani.hautakangas@nokia.com> | 2011-10-19 06:39:22 (GMT) |
---|---|---|
committer | Jani Hautakangas <jani.hautakangas@nokia.com> | 2011-10-19 09:45:53 (GMT) |
commit | 20542f9546637bd649c928226249be0ffc91841b (patch) | |
tree | 9eccbe781a22a4cc7e905111eb1dcdfccec98e29 /src/opengl/qgl_p.h | |
parent | b9a3d4bf7827aa631995d47233d47583917a5a7f (diff) | |
download | Qt-20542f9546637bd649c928226249be0ffc91841b.zip Qt-20542f9546637bd649c928226249be0ffc91841b.tar.gz Qt-20542f9546637bd649c928226249be0ffc91841b.tar.bz2 |
Workaround to VideoCore III scissor bug.
Some versions of VideoCore III drivers seem
to pollute and use stencil buffer when using
glScissors. Workaround is to clear stencil buffer
before disabling scissoring.
Task-number: QT-5308
Reviewed-by: Samuel Rødal
Diffstat (limited to 'src/opengl/qgl_p.h')
-rw-r--r-- | src/opengl/qgl_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opengl/qgl_p.h b/src/opengl/qgl_p.h index c56b2db..d76f0b0 100644 --- a/src/opengl/qgl_p.h +++ b/src/opengl/qgl_p.h @@ -415,6 +415,8 @@ public: uint workaround_brokenTextureFromPixmap : 1; uint workaround_brokenTextureFromPixmap_init : 1; + uint workaround_brokenScissor : 1; + QPaintDevice *paintDevice; QColor transpColor; QGLContext *q_ptr; |