- [NEW] F12 recarrega gràfics sense eixir

This commit is contained in:
2024-07-24 11:58:32 +02:00
parent 12674cc1a6
commit cd44dceb6b
3 changed files with 20 additions and 0 deletions

View File

@@ -93,6 +93,10 @@ bool game::loop()
file::setConfigValue("fullscreen", fullscreen?"yes":"no");
}
if (input::keyPressed(SDL_SCANCODE_F12)) {
draw::reloadAll();
}
int option;
switch(current_module)
{