mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
SDL: Fixed compile error.
This commit is contained in:
parent
2b6a5929aa
commit
6683df3a8c
1 changed files with 2 additions and 1 deletions
|
@ -619,6 +619,7 @@ namespace entry
|
|||
|
||||
case SDL_USER_WINDOW_TOGGLE_FULL_SCREEN:
|
||||
{
|
||||
WindowHandle handle = getWindowHandle(uev);
|
||||
m_fullscreen = !m_fullscreen;
|
||||
SDL_SetWindowFullscreen(m_window[handle.idx], m_fullscreen ? SDL_WINDOW_FULLSCREEN_DESKTOP : 0);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue