diff options
Diffstat (limited to 'src/render')
-rw-r--r-- | src/render/tga.cc | 1 |
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); |