From 812b420c7512ba501877d3b47ebab1dfadff4246 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 28 Feb 2010 00:12:34 +0100 Subject: Check pixel format when loading textures. --- texture.h | 1 + 1 file changed, 1 insertion(+) (limited to 'texture.h') 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_ -- cgit v1.2.3