diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-05-21 22:15:35 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2010-05-21 22:15:35 +0200 |
commit | 98f0d881978eb1c35c9bc4ab7d951e22f873102b (patch) | |
tree | 9b966785139dcf1a9e85cb8acf7c358652753d03 /engine/texture.h | |
parent | 267bebfc227c94f543a39e2aa75fb101bc06932e (diff) |
Fixed RGB vs BGR in texture loading.
Diffstat (limited to 'engine/texture.h')
-rw-r--r-- | engine/texture.h | 2 |
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_ |