From d6b9953c32b9abc2a96bb2e5b82d8801a1d12cef Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Sun, 13 Jun 2010 16:35:25 +0200 Subject: Added more stuff. --- texture.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 texture.h (limited to 'texture.h') diff --git a/texture.h b/texture.h new file mode 100644 index 0000000..c88104f --- /dev/null +++ b/texture.h @@ -0,0 +1,14 @@ +#ifndef _TEXTURE_H_ +#define _TEXTURE_H_ +class Texture { + public: + unsigned int tex(); + protected: + void build(); + unsigned char* data; + unsigned int width; + unsigned int height; + unsigned int format; + unsigned int texture; +}; +#endif // _TEXTURE_H_ -- cgit v1.2.3