diff options
author | pixel <pixel> | 2002-12-25 14:26:31 +0000 |
---|---|---|
committer | pixel <pixel> | 2002-12-25 14:26:31 +0000 |
commit | 2ec65975046c3aa98f2958ca0988d20a36abf5fa (patch) | |
tree | 3ef698dfcab536ec1f14fcd3c257225ea4bfdede /include | |
parent | 05b3214cc4af88977e09163ce8e3b6cc7256cebe (diff) |
Bleh
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(); |