summaryrefslogtreecommitdiff
path: root/include/gltexture.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gltexture.h')
-rw-r--r--include/gltexture.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/gltexture.h b/include/gltexture.h
index 2a5ab0b..bcfed2d 100644
--- a/include/gltexture.h
+++ b/include/gltexture.h
@@ -7,10 +7,13 @@
#include <Exceptions.h>
namespace mogltk {
+ enum texture_type {
+ RAW_RGBA,
+ };
class texture : public Base {
public:
texture(int = 256, int = 256, bool = false) throw (GeneralException);
- texture(Handle *, bool = false) throw (GeneralException);
+ texture(Handle *, bool = false, texture_type = RAW_RGBA) throw (GeneralException);
virtual ~texture();
SDL_Surface * GetSurface();
void Generate();