summaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2016-02-04 20:00:02 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2016-02-04 20:00:02 +0100
commitd521cc0e83b279f4cd7a10a1704b8f36827a118d (patch)
tree8f80cfdc2da9753da5d2541eea587773390aa63a /common.h
parent05e2f21d27c4a8557e1afc61450414ec53cd48bb (diff)
downloadglslview-d521cc0e83b279f4cd7a10a1704b8f36827a118d.tar
glslview-d521cc0e83b279f4cd7a10a1704b8f36827a118d.zip
Remove unneeded headers from common.h, improve error handling
Diffstat (limited to 'common.h')
-rw-r--r--common.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/common.h b/common.h
index 7cbf34d..8f45105 100644
--- a/common.h
+++ b/common.h
@@ -25,18 +25,13 @@
#pragma once
-#include <GL/glew.h>
-
-#include <SDL2/SDL.h>
-#include <SDL2/SDL_opengl.h>
-
extern char *filename;
extern float current_time;
-extern GLint param0;
-extern GLint param1;
-extern GLint param2;
+extern int param0;
+extern int param1;
+extern int param2;
void load(void);