fixes in rendering
This commit is contained in:
1 parent
6a9c54c4ef
commit
d186320f30
12 files changed
+223
-103
No files matched your search
@@ -356,7 +356,7 @@ b3Vector3 GpuRigidBodyDemo::getRayTo(int x,int y)
|
||||
|
||||
unsigned char* GpuRigidBodyDemo::loadImage(const char* fileName, int& width, int& height, int& n)
|
||||
{
|
||||
unsigned char *data = stbi_load(fileName, &width, &height, &n, 0);
|
||||
unsigned char *data = stbi_load(fileName, &width, &height, &n, 3);
|
||||
return data;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user