Set correct terrain layer texture format.

This commit is contained in:
LuisAntonRebollo 2014-11-08 01:46:08 +01:00
parent c354f59b72
commit b81ebaa386
4 changed files with 4 additions and 1 deletions

View file

@ -450,6 +450,7 @@ bool GFXD3D9TextureManager::_loadTexture( GFXTextureObject *inTex, void *raw )
break;
case GFXFormatR8G8B8A8:
case GFXFormatR8G8B8X8:
case GFXFormatB8G8R8A8:
bytesPerPix = 4;
break;
}