Skip to content

Commit

Permalink
Fixed window and backbuffer size on Android
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed May 18, 2023
1 parent a66cad7 commit 068d3da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/video/android/SDL_androidvideo.c
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ void Android_SendResize(SDL_Window *window)
}

if (window) {
SDL_SendWindowEvent(window, SDL_EVENT_WINDOW_RESIZED, Android_SurfaceWidth, Android_SurfaceWidth);
SDL_SendWindowEvent(window, SDL_EVENT_WINDOW_RESIZED, Android_SurfaceWidth, Android_SurfaceHeight);
}
}

Expand Down

0 comments on commit 068d3da

Please sign in to comment.