summaryrefslogtreecommitdiff
path: root/includes/gltexture.h
diff options
context:
space:
mode:
Diffstat (limited to 'includes/gltexture.h')
-rw-r--r--includes/gltexture.h26
1 files changed, 0 insertions, 26 deletions
diff --git a/includes/gltexture.h b/includes/gltexture.h
deleted file mode 100644
index a094694..0000000
--- a/includes/gltexture.h
+++ /dev/null
@@ -1,26 +0,0 @@
-#ifndef __GLTEXTURE_H__
-#define __GLTEXTURE_H__
-
-#include <GL/gl.h>
-#include <SDL.h>
-#include "Exceptions.h"
-
-namespace mogltk {
- class texture : public Base {
- public:
- texture(int = 256, int = 256, bool = false) throw (GeneralException);
- virtual ~texture();
- SDL_Surface * GetSurface() throw (GeneralException);
- void Generate() throw (GeneralException);
- void Bind(bool = true) throw (GeneralException);
- GLuint GetWidth();
- GLuint GetHeight();
- static void Unbind(void);
- private:
- GLuint width, height, tex;
- SDL_Surface * surface;
- bool planar;
- };
-};
-
-#endif