mirror of
https://github.com/love2d/love.git
synced 2026-08-16 00:02:12 +02:00
@@ -808,7 +808,7 @@ bool Window::onSizeChanged(int width, int height)
|
||||
#endif
|
||||
|
||||
#if SDL_VERSION_ATLEAST(3, 0, 0)
|
||||
if (SDL_GetWindowSizeInPixels(window, &pixelWidth, &pixelHeight))
|
||||
if (!SDL_GetWindowSizeInPixels(window, &pixelWidth, &pixelHeight))
|
||||
#else
|
||||
// TODO: Use SDL_GetWindowSizeInPixels here when supported.
|
||||
if (glcontext != nullptr)
|
||||
|
||||
Reference in New Issue
Block a user