Skip to content

Commit

Permalink
hopefully Tiny Format likes this no
Browse files Browse the repository at this point in the history
  • Loading branch information
larsy1995 authored Feb 5, 2025
1 parent ffb67bb commit 3f0d3d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/graphic/Fast3D/gfx_sdl2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -574,9 +574,9 @@ static void gfx_sdl_handle_single_event(SDL_Event& event) {
#ifdef __APPLE__
SDL_GetWindowSize(wnd, &window_width, &window_height);
#else
SDL_GL_GetDrawableSize(wnd, &window_width, &window_height);
SDL_GL_GetDrawableSize(wnd, &window_width, &window_height);
#endif
break;
break;
case SDL_WINDOWEVENT_CLOSE:
if (event.window.windowID == SDL_GetWindowID(wnd)) {
// We listen specifically for main window close because closing main window
Expand Down

0 comments on commit 3f0d3d2

Please sign in to comment.