diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/glbase.h | 2 | ||||
-rw-r--r-- | include/gltexture.h | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/include/glbase.h b/include/glbase.h index 27c4f75..b83f044 100644 --- a/include/glbase.h +++ b/include/glbase.h @@ -1,8 +1,8 @@ #ifndef __GLBASE_H__ #define __GLBASE_H__ -#include <GL/gl.h> #include <SDL.h> +#include <SDL_opengl.h> #include <Exceptions.h> namespace mogltk { diff --git a/include/gltexture.h b/include/gltexture.h index 9cbfe54..2a5ab0b 100644 --- a/include/gltexture.h +++ b/include/gltexture.h @@ -1,14 +1,16 @@ #ifndef __GLTEXTURE_H__ #define __GLTEXTURE_H__ -#include <GL/gl.h> #include <SDL.h> +#include <SDL_opengl.h> +#include <Handle.h> #include <Exceptions.h> namespace mogltk { class texture : public Base { public: texture(int = 256, int = 256, bool = false) throw (GeneralException); + texture(Handle *, bool = false) throw (GeneralException); virtual ~texture(); SDL_Surface * GetSurface(); void Generate(); |