Skip to content

Commit

Permalink
fix rect stucture creation
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed Jul 16, 2024
1 parent d3073e4 commit 2c274a7
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 @@ -6756,7 +6756,7 @@ EM_BOOL on_resize(int eventType, const EmscriptenUiEvent* e, void* userData) {
RGFW_events[RGFW_eventLen].type = RGFW_windowResized;
RGFW_eventLen++;

RGFW_windowResizeCallback(RGFW_root, RGFW_RECT(e->windowInnerWidth, e->windowInnerHeight));
RGFW_windowResizeCallback(RGFW_root, RGFW_RECT(0, 0, e->windowInnerWidth, e->windowInnerHeight));
return EM_TRUE;
}

Expand Down

0 comments on commit 2c274a7

Please sign in to comment.