Minor warning fixes.

This commit is contained in:
Unknown W. Brackets committed 2013-03-15 08:10:34 -07:00
1 parent 1ec67d5ac2
commit e572fac401
3 files changed
+9 -1

No files matched your search

+2
View File
@@ -47,6 +47,8 @@ uint8_t *generateTexture(const char *filename, int &bpp, int &w, int &h, bool &c
data[y*w + x] = val * 255;
}
}
} else {
data = NULL;
}
return data;