diff options
Diffstat (limited to 'intern/glew-mx/glew-mx.h')
-rw-r--r-- | intern/glew-mx/glew-mx.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/intern/glew-mx/glew-mx.h b/intern/glew-mx/glew-mx.h index a06fd7d977c..f9b3e55179f 100644 --- a/intern/glew-mx/glew-mx.h +++ b/intern/glew-mx/glew-mx.h @@ -43,25 +43,25 @@ #include <GL/glew.h> - #ifdef __cplusplus extern "C" { #endif #include "intern/symbol-binding.h" - /* If compiling only for OpenGL 3.2 Core Profile then we should make sure * no legacy API entries or symbolic constants are used. */ -#if (!defined(WITH_LEGACY_OPENGL)) || defined(WITH_GL_PROFILE_CORE) && !defined(WITH_GL_PROFILE_COMPAT) && !defined(WITH_GL_PROFILE_ES20) +#if (!defined(WITH_LEGACY_OPENGL)) || defined(WITH_GL_PROFILE_CORE) && \ + !defined(WITH_GL_PROFILE_COMPAT) && \ + !defined(WITH_GL_PROFILE_ES20) # include "intern/gl-deprecated.h" #endif GLenum glew_chk(GLenum error, const char *file, int line, const char *text); #ifndef NDEBUG -# define GLEW_CHK(x) glew_chk((x), __FILE__, __LINE__, #x) +# define GLEW_CHK(x) glew_chk((x), __FILE__, __LINE__, # x) #else # define GLEW_CHK(x) glew_chk((x), NULL, 0, NULL) #endif @@ -70,5 +70,4 @@ GLenum glew_chk(GLenum error, const char *file, int line, const char *text); } #endif - -#endif /* __GLEW_MX_H__ */ +#endif /* __GLEW_MX_H__ */ |