mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Change i++ to ++i
This commit is contained in:
parent
2480f2d06f
commit
34b7a147dc
41 changed files with 125 additions and 125 deletions
|
@ -51,13 +51,13 @@ void guiScalingCache(io::path key, video::IVideoDriver *driver, video::IImage *v
|
|||
void guiScalingCacheClear(video::IVideoDriver *driver)
|
||||
{
|
||||
for (std::map<io::path, video::IImage *>::iterator it = g_imgCache.begin();
|
||||
it != g_imgCache.end(); it++) {
|
||||
it != g_imgCache.end(); ++it) {
|
||||
if (it->second != NULL)
|
||||
it->second->drop();
|
||||
}
|
||||
g_imgCache.clear();
|
||||
for (std::map<io::path, video::ITexture *>::iterator it = g_txrCache.begin();
|
||||
it != g_txrCache.end(); it++) {
|
||||
it != g_txrCache.end(); ++it) {
|
||||
if (it->second != NULL)
|
||||
driver->removeTexture(it->second);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue