diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2010-02-28 00:12:34 +0100 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2010-02-28 00:12:34 +0100 |
commit | 812b420c7512ba501877d3b47ebab1dfadff4246 (patch) | |
tree | fd9b0880ff55865b7759c65c105547a56de8af38 /texture.h | |
parent | 42fcaf7d7d374bdae934b5d9aeb32af964872681 (diff) |
Check pixel format when loading textures.
Diffstat (limited to 'texture.h')
-rwxr-xr-x | texture.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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_ |