diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:17:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-17 07:21:24 +0300 |
commit | e12c08e8d170b7ca40f204a5b0423c23a9fbc2c1 (patch) | |
tree | 8cf3453d12edb177a218ef8009357518ec6cab6a /intern/glew-mx/glew-mx.h | |
parent | b3dabc200a4b0399ec6b81f2ff2730d07b44fcaa (diff) |
ClangFormat: apply to source, most of intern
Apply clang format as proposed in T53211.
For details on usage and instructions for migrating branches
without conflicts, see:
https://wiki.blender.org/wiki/Tools/ClangFormat
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__ */ |