diff options
author | 2012-09-16 03:06:55 +0000 | |
---|---|---|
committer | 2012-09-16 03:06:55 +0000 | |
commit | 91f928d6cd774c9526c7fde7e0860aded24d08a5 (patch) | |
tree | 7f41fdb9da8c9de744c08094820eb47c6b21576b /src/osd/sdl/gl_shader_tool.h | |
parent | 8d1de4e030e6af94e1bb6c1cbeedb8ca8a18d5b1 (diff) |
Enum and union normalization.
Diffstat (limited to 'src/osd/sdl/gl_shader_tool.h')
-rw-r--r-- | src/osd/sdl/gl_shader_tool.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osd/sdl/gl_shader_tool.h b/src/osd/sdl/gl_shader_tool.h index dd59906ae1e..84174a40d7f 100644 --- a/src/osd/sdl/gl_shader_tool.h +++ b/src/osd/sdl/gl_shader_tool.h @@ -73,11 +73,11 @@ typedef void * (APIENTRYP PFNGLGETPROCADDRESSOS)(const char *procName); */ int gl_shader_loadExtention(PFNGLGETPROCADDRESSOS GetProcAddress); -typedef enum { +enum GLSLCheckMode { CHECK_QUIET, /* just return 0, if no error, otherwise the GL error code, no stderr output */ CHECK_VERBOSE, /* same as CHECK_QUIET, but in the case of an error, use stderr to be verbose */ CHECK_ALWAYS_VERBOSE /* always print out all information available */ -} GLSLCheckMode; +}; #define GL_CHECK_ERROR_VERBOSE() gl_check_error(CHECK_ALWAYS_VERBOSE,__FILE__,__LINE__) #define GL_CHECK_ERROR_NORMAL() gl_check_error(CHECK_VERBOSE,__FILE__,__LINE__) |