summaryrefslogtreecommitdiff
path: root/include/gltexture.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gltexture.h')
-rw-r--r--include/gltexture.h4
1 files changed, 3 insertions, 1 deletions
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();