Fix fullscreen mouse input on linux

This commit is contained in:
Nunuhara Cabbage
2019-07-17 16:05:02 -07:00
parent 4dbd6b670a
commit 23f1199b2e
+1
View File
@@ -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)