summaryrefslogtreecommitdiffstats
path: root/sdl/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'sdl/platform.h')
-rw-r--r--sdl/platform.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/sdl/platform.h b/sdl/platform.h
index 8be6052..09028d1 100644
--- a/sdl/platform.h
+++ b/sdl/platform.h
@@ -1,18 +1,16 @@
#ifndef _PLATFORM_H_
#define _PLATFORM_H_
-extern GLfloat fNoLight[];
-extern GLfloat fLowLight[];
-extern GLfloat fBrightLight[];
-
-extern GLfloat whiteLight[];
-extern GLfloat sourceLight[];
-extern GLfloat lightPos[];
+extern const GLfloat fNoLight[];
+extern const GLfloat fLowLight[];
+extern const GLfloat fShinyLight[];
+extern const GLfloat fBrightLight[];
+extern const GLfloat lightPos[];
/* function prototypes */
void setup_opengl(void);
SDL_Surface *setup_sdl_video(int, int, int, unsigned int);
-void setup_sdl(void);
+SDL_Surface *setup_sdl(void);
void setup_glew(void);
#endif