Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-09-18 17:35:58 +0000
committerStijn Buys <ingar@osirion.org>2008-09-18 17:35:58 +0000
commit84a53f91e64ad801703bcf2c73a82b75ff10d760 (patch)
treebc187f6586d9527e3d6cd6d01b36036bd12f9695 /src/render
parentb6fcc157dad58d4fab32e01ea161acf20ab434a1 (diff)
fix win32 build and directory creation, use My Games\
Diffstat (limited to 'src/render')
-rw-r--r--src/render/tga.cc2
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);