Skip to content

Commit

Permalink
update RGFW
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed Jan 12, 2025
1 parent 350765e commit ba248d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/deps/RGFW.h
Original file line number Diff line number Diff line change
Expand Up @@ -2922,7 +2922,7 @@ RGFW_window* RGFW_createWindowPtr(const char* name, RGFW_rect rect, RGFW_windowF
}

if (flags & RGFW_windowNoResize) { /* make it so the user can't resize the window*/
XSizeHints sh = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
XSizeHints sh = {0, 0, 0, 0, {0, 0}, {0, 0}, 0, 0, 0};
sh.flags = (1L << 4) | (1L << 5);
sh.min_width = sh.max_width = win->r.w;
sh.min_height = sh.max_height = win->r.h;
Expand Down

0 comments on commit ba248d0

Please sign in to comment.