mirror of
https://github.com/open-goal/jak-project
synced 2026-08-21 23:00:45 -04:00
Add in-game option to switch fullscreen monitor (#1700)
* Add in-game option to switch fullscreen monitor * mmm undefined memory :) * Fix type consistency * Optimize get_monitor and get_monitor_count since they're called often * Address PR feedback * Track fullscreen mode and minimized state to reduce GLFW calls per frame
This commit is contained in:
@@ -61,12 +61,6 @@ int GfxDisplay::height() {
|
||||
return h;
|
||||
}
|
||||
|
||||
void GfxDisplay::backup_params() {
|
||||
get_size(&m_width, &m_height);
|
||||
get_position(&m_xpos, &m_ypos);
|
||||
fmt::print("backed up window: {},{} {}x{}\n", m_xpos, m_ypos, m_width, m_height);
|
||||
}
|
||||
|
||||
/*
|
||||
********************************
|
||||
* DISPLAY
|
||||
|
||||
Reference in New Issue
Block a user