mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-06-04 18:28:45 -04:00
Add fullscreen checkbox to game menu
This commit is contained in:
@@ -29,6 +29,10 @@ namespace dusk {
|
||||
ImGui::SetTooltip("Adds GC-specific -0.01 transS offset\n"
|
||||
"that causes ~6px ghost artifacts in water reflections");
|
||||
}
|
||||
ImGui::Checkbox("Fullscreen", &m_graphicsSettings.m_fullscreen);
|
||||
if (m_graphicsSettings.m_fullscreen != VIGetWindowFullscreen()) {
|
||||
VISetWindowFullscreen(m_graphicsSettings.m_fullscreen);
|
||||
}
|
||||
ImGui::EndMenu();
|
||||
}
|
||||
|
||||
|
||||
@@ -37,6 +37,7 @@ namespace dusk {
|
||||
struct {
|
||||
bool m_enableBloom = 1;
|
||||
bool m_waterProjectionOffset = false;
|
||||
bool m_fullscreen = false;
|
||||
} m_graphicsSettings;
|
||||
|
||||
bool m_showControllerConfig = false;
|
||||
|
||||
Reference in New Issue
Block a user