From a9e376dbfeb3109398dcb83e56a7f9c8b7521a73 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Wed, 17 Jun 2015 15:39:30 +0300 Subject: Const correctness Change-Id: I786b9590f8179a1f6c6593b7ff1dec286adda192 (cherry picked from commit a1a0432d11899caf057bc3a37408675d330b0a0b) --- vcl/source/opengl/OpenGLContext.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl') diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx index 7381e4a95e50..fa8e981a17be 100644 --- a/vcl/source/opengl/OpenGLContext.cxx +++ b/vcl/source/opengl/OpenGLContext.cxx @@ -427,7 +427,7 @@ extern "C" void APIENTRY #endif debug_callback(GLenum source, GLenum type, GLuint id, - GLenum severity, GLsizei , const GLchar* message, GLvoid* ) + GLenum severity, GLsizei , const GLchar* message, const GLvoid* ) { // ignore Nvidia's : "Program/shader state performance warning: Fragment Shader is going to be recompiled because the shader key based on GL state mismatches." // the GLSL compiler is a bit too aggressive in optimizing the state based on the current OpenGL state -- cgit v1.2.3