summaryrefslogtreecommitdiff
path: root/texture.h
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-02-09 11:38:58 +0100
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-02-09 11:38:58 +0100
commit19b6628549c8b80f23976d9b42f2cd853989422c (patch)
tree3d8ad793b39c0e96b3bb6d6ca7e0a2555a17a803 /texture.h
Initial commit.
Diffstat (limited to 'texture.h')
-rwxr-xr-xtexture.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/texture.h b/texture.h
new file mode 100755
index 0000000..33f6178
--- /dev/null
+++ b/texture.h
@@ -0,0 +1,13 @@
+#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 texture;
+};
+#endif // _TEXTURE_H_