summaryrefslogtreecommitdiff
path: root/vcl/source/opengl
diff options
context:
space:
mode:
authorThorsten Behrens <Thorsten.Behrens@CIB.de>2015-08-31 15:49:17 +0200
committerThorsten Behrens <Thorsten.Behrens@CIB.de>2015-08-31 15:49:17 +0200
commit751c5f5b75ed27359d8bd8410e5a19ee638b175c (patch)
tree0333ac4cf1accc7ff290b236891d88d769266897 /vcl/source/opengl
parent3286c6c854cf7dfa71c24ff98cd47bdddf6b0c27 (diff)
Revert "werror: fix build in vcl"
Diffstat (limited to 'vcl/source/opengl')
-rw-r--r--vcl/source/opengl/OpenGLContext.cxx5
1 files changed, 0 insertions, 5 deletions
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index 70a6cbc57011..8253241795ea 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -785,13 +785,9 @@ bool OpenGLContext::ImplInit()
glXSwapInterval( 1 );
if( errorTriggered )
- {
SAL_WARN("vcl.opengl", "error when trying to set swap interval, NVIDIA or Mesa bug?");
- }
else
- {
VCL_GL_INFO("vcl.opengl", "set swap interval to 1 (enable vsync)");
- }
}
}
@@ -1363,7 +1359,6 @@ void OpenGLContext::makeCurrent()
// move the context to the end of the contexts list
static int nSwitch = 0;
- (void) nSwitch; // -Werror=unused-variable
VCL_GL_INFO("vcl.opengl", "******* CONTEXT SWITCH " << ++nSwitch << " *********");
if( mpNextContext )
{