diff options
author | Stijn Buys <ingar@osirion.org> | 2008-09-18 17:35:58 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2008-09-18 17:35:58 +0000 |
commit | 84a53f91e64ad801703bcf2c73a82b75ff10d760 (patch) | |
tree | bc187f6586d9527e3d6cd6d01b36036bd12f9695 /src/render | |
parent | b6fcc157dad58d4fab32e01ea161acf20ab434a1 (diff) |
fix win32 build and directory creation, use My Games\
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/tga.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/tga.cc b/src/render/tga.cc index d9e5cb2..a7a2356 100644 --- a/src/render/tga.cc +++ b/src/render/tga.cc @@ -167,7 +167,7 @@ Image *TGA::load(const char *filename) while (index < tga_width * tga_height) { unsigned char rle = 0; - unsigned char pixel_data[channels]; + unsigned char pixel_data[3]; // read RLE packet byte tga_file->read(&rle, 1); |