Skip to content

Commit

Permalink
update window sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
nokotan committed Aug 5, 2024
1 parent ca35a29 commit dbf81dd
Show file tree
Hide file tree
Showing 6 changed files with 350 additions and 242 deletions.
5 changes: 5 additions & 0 deletions src/DxGraphics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@

#ifdef EMSCRIPTEN
#include "HTML5/DxGraphicsHTML5.h"
#include "HTML5/DxWindow.h"
#endif


Expand Down Expand Up @@ -27573,6 +27574,10 @@ extern int Graphics_Screen_ChangeMode( int ScreenSizeX, int ScreenSizeY, int Col
RefreshDragFileValidFlag() ;
#endif // WINDOWS_DESKTOP_OS

#ifdef EMSCRIPTEN
UpdateMainWindowSize();
#endif

END:
// Graphics_Screen_ChangeMode ���s���t���O��|��
GSYS.Screen.Graphics_Screen_ChangeModeFlag = FALSE ;
Expand Down
1 change: 1 addition & 0 deletions src/HTML5/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ target_sources(DxLib
DxSoundHTML5.cpp
DxSystemHTML5.cpp
DxThreadHTML5.cpp
DxWindow.cpp
)


Expand Down
Loading

0 comments on commit dbf81dd

Please sign in to comment.