mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-10 22:24:33 +00:00
Set correct terrain layer texture format.
This commit is contained in:
parent
c354f59b72
commit
b81ebaa386
4 changed files with 4 additions and 1 deletions
|
|
@ -450,6 +450,7 @@ bool GFXD3D9TextureManager::_loadTexture( GFXTextureObject *inTex, void *raw )
|
|||
break;
|
||||
case GFXFormatR8G8B8A8:
|
||||
case GFXFormatR8G8B8X8:
|
||||
case GFXFormatB8G8R8A8:
|
||||
bytesPerPix = 4;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue