fixes in rendering

This commit is contained in:
Erwin Coumans
2016-05-13 18:45:56 -07:00
parent 6a9c54c4ef
commit d186320f30
12 changed files with 223 additions and 103 deletions

View File

@@ -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);