Skip to content

Commit

Permalink
Merge pull request #32 from lesleyrs/main
Browse files Browse the repository at this point in the history
fix(windows): don't show dummy window on start
  • Loading branch information
ColleagueRiley authored Aug 14, 2024
2 parents d06fe42 + 449c341 commit b3b1be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RGFW.h
Original file line number Diff line number Diff line change
Expand Up @@ -5298,7 +5298,7 @@ RGFW_UNUSED(win); /*!< if buffer rendering is not being used */
RECT windowRect, clientRect;

if (!(args & RGFW_NO_BORDER)) {
window_style |= WS_CAPTION | WS_SYSMENU | WS_BORDER | WS_VISIBLE | WS_MINIMIZEBOX;
window_style |= WS_CAPTION | WS_SYSMENU | WS_BORDER | WS_MINIMIZEBOX;

if (!(args & RGFW_NO_RESIZE))
window_style |= WS_SIZEBOX | WS_MAXIMIZEBOX | WS_THICKFRAME;
Expand Down

0 comments on commit b3b1be4

Please sign in to comment.