diff --git a/src/modules/window/sdl/Window.cpp b/src/modules/window/sdl/Window.cpp index be4f21d06..ee1c033dc 100644 --- a/src/modules/window/sdl/Window.cpp +++ b/src/modules/window/sdl/Window.cpp @@ -850,7 +850,9 @@ Rect Window::getSafeArea() const return love::ios::getSafeArea(window); #endif - return {0, 0, getWidth(), getHeight()}; + double dw, dh; + fromPixels(pixelWidth, pixelHeight, dw, dh); + return {0, 0, (int) dw, (int) dh}; } bool Window::isOpen() const