mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-09-22 22:48:08 +03:00
Fix fullscreen mouse input on linux
This commit is contained in:
@@ -57,6 +57,7 @@ void sdl_setWindowSize(int x, int y, int w, int h) {
|
||||
view_h = h;
|
||||
|
||||
SDL_SetWindowSize(sdl_window, w, h);
|
||||
SDL_RenderSetLogicalSize(sdl_renderer, w, h);
|
||||
if (sdl_display)
|
||||
SDL_FreeSurface(sdl_display);
|
||||
if (sdl_texture)
|
||||
|
||||
Reference in New Issue
Block a user