summaryrefslogtreecommitdiff
path: root/vcl/inc
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2016-11-28 16:47:23 +0100
committerDavid Tardon <dtardon@redhat.com>2016-11-28 17:26:24 +0100
commit83288089d5efd2cd1d5c76b05a4ba3f782641e88 (patch)
tree10d37f945016de6a5f9818e3526f518cfbb3cb6f /vcl/inc
parentc03090c97dddbeecf477b4832c3b0a78a68220a3 (diff)
tdf#104139 keep the current OpenGL state
This hopefully fixes tdf#104139, which I cannot reproduce on my system. Change-Id: I903f479a1f401804481b9645c9377c4aaeec13f7
Diffstat (limited to 'vcl/inc')
-rw-r--r--vcl/inc/opengl/RenderState.hxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/vcl/inc/opengl/RenderState.hxx b/vcl/inc/opengl/RenderState.hxx
index 1f526ba4c603..25dd8377e81c 100644
--- a/vcl/inc/opengl/RenderState.hxx
+++ b/vcl/inc/opengl/RenderState.hxx
@@ -22,8 +22,6 @@ protected:
GenericCapabilityState()
: mbTest(readState())
{
- if (mbTest)
- disable();
}
static bool readState()