[Libreoffice-commits] core.git: config_host/config_opengl.h.in vcl/source
Stephan Bergmann
sbergman at redhat.com
Thu Jun 18 05:42:41 PDT 2015
config_host/config_opengl.h.in | 2 +-
vcl/source/opengl/OpenGLContext.cxx | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 83fc2cfb34b584f41d27a5f04dd9405cf55bd528
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Jun 18 14:42:03 2015 +0200
loplugin:checkconfigmacros
Change-Id: Ia94c53457e328db9bdd8dd22d7a39e49c358301c
diff --git a/config_host/config_opengl.h.in b/config_host/config_opengl.h.in
index b2c6358..67b9e47 100644
--- a/config_host/config_opengl.h.in
+++ b/config_host/config_opengl.h.in
@@ -5,6 +5,6 @@ Settings for OpenGL
#ifndef CONFIG_OPENGL_H
#define CONFIG_OPENGL_H
-#undef HAVE_GLEW_1_12
+#define HAVE_GLEW_1_12 0
#endif
diff --git a/vcl/source/opengl/OpenGLContext.cxx b/vcl/source/opengl/OpenGLContext.cxx
index 326250c..f7f2d0f 100644
--- a/vcl/source/opengl/OpenGLContext.cxx
+++ b/vcl/source/opengl/OpenGLContext.cxx
@@ -440,7 +440,7 @@ APIENTRY
#endif
debug_callback(GLenum source, GLenum type, GLuint id,
GLenum severity, GLsizei , const GLchar* message,
-#if defined HAVE_GLEW_1_12
+#if HAVE_GLEW_1_12
const GLvoid*
#else
GLvoid*
More information about the Libreoffice-commits
mailing list