Move the if-else copies of SDL_Delay() outside if-else.
This commit is contained in:
parent
9de2616dc2
commit
6d5ee9d562
|
@ -539,11 +539,10 @@ void TexCache ()
|
|||
if (ghq_dmptex_toggle_key) {
|
||||
DisplayLoadProgress(L"Texture dump - ON\n");
|
||||
ClearCache();
|
||||
SDL_Delay(1000);
|
||||
} else {
|
||||
DisplayLoadProgress(L"Texture dump - OFF\n");
|
||||
SDL_Delay(1000);
|
||||
}
|
||||
SDL_Delay(1000);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue