fix loadTexture for tinyrenderer

This commit is contained in:
erwincoumans
2018-03-12 19:40:13 -07:00
parent f5d7e5bed3
commit b62501d04d

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)
{