diff --git a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp index c735da224..acee75204 100644 --- a/examples/SharedMemory/PhysicsServerCommandProcessor.cpp +++ b/examples/SharedMemory/PhysicsServerCommandProcessor.cpp @@ -8679,7 +8679,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) {