mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add debug GUI render mode (F8)
This commit is contained in:
parent
a74a4fcf53
commit
5af6b91b22
18 changed files with 93 additions and 29 deletions
|
|
@ -163,6 +163,9 @@ void Engine::updateHotkeys() {
|
|||
if (Events::jpressed(keycode::F2)) {
|
||||
saveScreenshot();
|
||||
}
|
||||
if (Events::jpressed(keycode::F8)) {
|
||||
gui->toggleDebug();
|
||||
}
|
||||
if (Events::jpressed(keycode::F11)) {
|
||||
settings.display.fullscreen.toggle();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue