Code: Select all
b->setImage(Game::driver->getTexture((char*)img.c_str()));
For clarification, I'm making update files. If the player loads an image, then the server recognized the player's image is out of date and sends the new image,
Once the image is done downloading, I'd like to use the finished version rather than the old one, with the same file name