mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 05:38:56 +00:00
HPL1: Fix Cut and Paste Error in Engine Material Manager Code
This was generating a Enum used in Boolean Context GCC compiler warning.
This commit is contained in:
parent
c91737c5f5
commit
354464ea97
@ -317,7 +317,7 @@ iMaterial *cMaterialManager::LoadFromFile(const tString &asName, const tString &
|
||||
pTex = mpResources->GetTextureManager()->Create1D(sFile, bMipMaps, bCompress,
|
||||
eTextureType_Normal,
|
||||
mlTextureSizeLevel);
|
||||
} else if (eTextureTarget_CubeMap) {
|
||||
} else if (target == eTextureTarget_CubeMap) {
|
||||
pTex = mpResources->GetTextureManager()->CreateCubeMap(sFile, bMipMaps, bCompress,
|
||||
eTextureType_Normal,
|
||||
mlTextureSizeLevel);
|
||||
|
Loading…
Reference in New Issue
Block a user