mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
companion to #2203: corrects a couple backend profile assignment mismatches found with @rextimmys debug spew
This commit is contained in:
parent
cfbdf63cd7
commit
8bc4858fa3
2 changed files with 6 additions and 6 deletions
|
|
@ -111,7 +111,7 @@ void CubemapData::createMap()
|
|||
{
|
||||
if (!mCubeFaceFile[i].isEmpty())
|
||||
{
|
||||
if (!mCubeFace[i].set(mCubeFaceFile[i], &GFXStaticTextureSRGBProfile, avar("%s() - mCubeFace[%d] (line %d)", __FUNCTION__, i, __LINE__)))
|
||||
if (!mCubeFace[i].set(mCubeFaceFile[i], &GFXStaticTextureProfile, avar("%s() - mCubeFace[%d] (line %d)", __FUNCTION__, i, __LINE__)))
|
||||
{
|
||||
Con::errorf("CubemapData::createMap - Failed to load texture '%s'", mCubeFaceFile[i].c_str());
|
||||
initSuccess = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue