summaryrefslogtreecommitdiff
path: root/engine/texture.h
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2010-05-21 22:15:35 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2010-05-21 22:15:35 +0200
commit98f0d881978eb1c35c9bc4ab7d951e22f873102b (patch)
tree9b966785139dcf1a9e85cb8acf7c358652753d03 /engine/texture.h
parent267bebfc227c94f543a39e2aa75fb101bc06932e (diff)
Fixed RGB vs BGR in texture loading.
Diffstat (limited to 'engine/texture.h')
-rw-r--r--engine/texture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/texture.h b/engine/texture.h
index 14e500f..c88104f 100644
--- a/engine/texture.h
+++ b/engine/texture.h
@@ -8,7 +8,7 @@ class Texture {
unsigned char* data;
unsigned int width;
unsigned int height;
- unsigned int byte_per_pixel;
+ unsigned int format;
unsigned int texture;
};
#endif // _TEXTURE_H_