Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/render/tga.cc')
-rw-r--r--src/render/tga.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/render/tga.cc b/src/render/tga.cc
index 5802edf..18b8870 100644
--- a/src/render/tga.cc
+++ b/src/render/tga.cc
@@ -64,6 +64,7 @@ TGA::image *TGA::load(const char *filename)
return 0;
pImgData = (image*)malloc(sizeof(image));
+ pImgData->data = 0;
f->read((void *)&length, sizeof(GLubyte));
f->skip(1);