Merge pull request #1598 from erwincoumans/master

fix loadTexture for tinyrenderer
This commit is contained in:
erwincoumans
2018-03-12 21:10:35 -07:00
committed by GitHub

View File

@@ -8678,7 +8678,7 @@ bool PhysicsServerCommandProcessor::processLoadTextureCommand(const struct Share
int uid = -1;
if (m_data->m_pluginManager.getRenderInterface())
{
m_data->m_pluginManager.getRenderInterface()->loadTextureFile(relativeFileName);
uid = m_data->m_pluginManager.getRenderInterface()->loadTextureFile(relativeFileName);
}
if(uid>=0)
{