diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-10-12 21:52:30 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-10-12 21:52:30 (GMT) |
commit | d08d4e1ce4a5fcf5b92465ac2769f2f38b601e9f (patch) | |
tree | e1ccbceff5444ccbb95737fc12c92473d7f60279 /src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h | |
parent | 7a1d1dca32c98a9bc3fb518beed70caf8334c7c4 (diff) | |
download | Qt-d08d4e1ce4a5fcf5b92465ac2769f2f38b601e9f.zip Qt-d08d4e1ce4a5fcf5b92465ac2769f2f38b601e9f.tar.gz Qt-d08d4e1ce4a5fcf5b92465ac2769f2f38b601e9f.tar.bz2 |
Fix save() and restore() for the OpenGL2 paint engine.
Task-number: QTBUG-4822, QTBUG-4824
Reviewed-by: Sarah Smith
Reviewed-by: Samuel
Diffstat (limited to 'src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h')
-rw-r--r-- | src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h b/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h index 46be398..5704a04 100644 --- a/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h +++ b/src/opengl/gl2paintengineex/qpaintengineex_opengl2_p.h @@ -82,6 +82,7 @@ public: QOpenGL2PaintEngineState(); ~QOpenGL2PaintEngineState(); + uint isNew : 1; uint needsClipBufferClear : 1; uint clipTestEnabled : 1; uint canRestoreClip : 1; @@ -212,8 +213,6 @@ public: EngineMode mode; QFontEngineGlyphCache::Type glyphCacheType; - mutable QOpenGL2PaintEngineState *last_created_state; - // Dirty flags bool matrixDirty; // Implies matrix uniforms are also dirty bool compositionModeDirty; |