fixes in rendering

This commit is contained in:
Erwin Coumans committed 2016-05-13 18:45:56 -07:00
1 parent 6a9c54c4ef
commit d186320f30
12 files changed
+223 -103

No files matched your search

@@ -226,7 +226,7 @@ public:
{
char relativeFileName[1024];
sprintf(relativeFileName,"%s%s",prefix[i],filename);
image = stbi_load(relativeFileName, &width, &height, &n, 0);
image = stbi_load(relativeFileName, &width, &height, &n, 3);
}
b3Assert(image);