summaryrefslogtreecommitdiff
path: root/texture.h
diff options
context:
space:
mode:
authorJon Bergli Heier <snakebite@jvnv.net>2010-02-28 00:12:34 +0100
committerJon Bergli Heier <snakebite@jvnv.net>2010-02-28 00:12:34 +0100
commit812b420c7512ba501877d3b47ebab1dfadff4246 (patch)
treefd9b0880ff55865b7759c65c105547a56de8af38 /texture.h
parent42fcaf7d7d374bdae934b5d9aeb32af964872681 (diff)
Check pixel format when loading textures.
Diffstat (limited to 'texture.h')
-rwxr-xr-xtexture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/texture.h b/texture.h
index 33f6178..14e500f 100755
--- a/texture.h
+++ b/texture.h
@@ -8,6 +8,7 @@ class Texture {
unsigned char* data;
unsigned int width;
unsigned int height;
+ unsigned int byte_per_pixel;
unsigned int texture;
};
#endif // _TEXTURE_H_