summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorpixel <pixel>2002-12-25 14:26:31 +0000
committerpixel <pixel>2002-12-25 14:26:31 +0000
commit2ec65975046c3aa98f2958ca0988d20a36abf5fa (patch)
tree3ef698dfcab536ec1f14fcd3c257225ea4bfdede /include
parent05b3214cc4af88977e09163ce8e3b6cc7256cebe (diff)
Bleh
Diffstat (limited to 'include')
-rw-r--r--include/glbase.h2
-rw-r--r--include/gltexture.h4
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();