Skip to content

Commit

Permalink
update for 2.207
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Nov 9, 2024
1 parent 5d50d0d commit 3757d7d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/platform/Win32.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ class $modify(CCEGLView) {
CCEGLView::updateWindow(width, height);
}

void toggleFullScreen(bool value, bool borderless) {
void toggleFullScreen(bool value, bool borderless, bool fix) {
if (!DevTools::get()->isSetup())
return CCEGLView::toggleFullScreen(value, borderless);
return CCEGLView::toggleFullScreen(value, borderless, fix);

DevTools::get()->destroy();
CCEGLView::toggleFullScreen(value, borderless);
CCEGLView::toggleFullScreen(value, borderless, fix);
DevTools::get()->setup();
}

Expand Down

0 comments on commit 3757d7d

Please # to comment.