medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit f8dd5dff06040e1b44b10293d31d4ba4ae31ce7d
parent 7706b4c9519894b5ced33f61df6ed0b47277b9da
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Sat Jan 16 10:08:51 +0000

Return const char *s in gl.cc

Diffstat:
gl.cc | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/gl.cc b/gl.cc @@ -19,7 +19,7 @@ static const int HEIGHT = 480; #define GREEN "\x1b[1;33m" #ifndef __APPLE__ -char * type_string( const GLenum type ) { +const char * type_string( const GLenum type ) { switch (type) { case GL_DEBUG_TYPE_ERROR: return "error"; @@ -38,7 +38,7 @@ char * type_string( const GLenum type ) { } } -char * severity_string( const GLenum severity ) { +const char * severity_string( const GLenum severity ) { switch( severity ) { case GL_DEBUG_SEVERITY_LOW: return GREEN "low" RESET;