diff options
author | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-20 11:13:20 +0200 |
---|---|---|
committer | Noel Grandin <noel.grandin@collabora.co.uk> | 2017-07-20 13:02:31 +0200 |
commit | f24b46c27243b88e4d367d7b105d1365e97dbd76 (patch) | |
tree | ff7d573afc446c189f852382312d477c67d26108 /vcl/source/opengl | |
parent | c93eb59b65d5cecb185b4dae11593149009a60bf (diff) |
loplugin:unusedfields in vcl
Change-Id: I207866df495ec81bb9288e6d0f664b96d90251d6
Reviewed-on: https://gerrit.libreoffice.org/40217
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Diffstat (limited to 'vcl/source/opengl')
-rw-r--r-- | vcl/source/opengl/OpenGLContext.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx index 1354f3764880..d2a5fc8a963b 100644 --- a/vcl/source/opengl/OpenGLContext.cxx +++ b/vcl/source/opengl/OpenGLContext.cxx @@ -61,7 +61,6 @@ OpenGLContext::OpenGLContext(): mpLastFramebuffer(nullptr), mpCurrentProgram(nullptr), mpRenderState(new RenderState), - mnPainting(0), mpPrevContext(nullptr), mpNextContext(nullptr) { @@ -382,9 +381,6 @@ void OpenGLContext::reset() OpenGLZone aZone; - // don't reset a context in the middle of stack frames rendering to it - assert( mnPainting == 0 ); - // reset the clip region maClipRegion.SetEmpty(); mpRenderState.reset(new RenderState); |