Skip to content

Commit

Permalink
remove extra RGFW calls
Browse files Browse the repository at this point in the history
  • Loading branch information
ColleagueRiley committed Dec 31, 2024
1 parent 092113e commit 1c9007f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/basics/basic.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ int main(void) {
#endif

RSGL_setClearArgs(true);

RSGL_init(RSGL_AREA(win->r.w, win->r.h), RGFW_getProcAddress);

while (RGFW_window_shouldClose(win) == false) {
Expand Down Expand Up @@ -96,7 +96,6 @@ int main(void) {

RSGL_clear(RSGL_RGB(255, 255, 255));
RGFW_window_swapBuffers(win2);
fps = RGFW_window_checkFPS(win, 60);
}
#endif
}
Expand Down

0 comments on commit 1c9007f

Please sign in to comment.