summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorpixel <pixel>2003-02-09 19:29:34 +0000
committerpixel <pixel>2003-02-09 19:29:34 +0000
commit6b63855d6e31a4d63ced9c803847ee35c70ee514 (patch)
tree35bc4826caab46add73a81751a3840c6ad9a2689 /include
parent2ce366684532475971543bfdfa7abeb001354371 (diff)
Whoups..
Diffstat (limited to 'include')
-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();