Fixes an issue introduced via #5573 when building for i686

This commit is contained in:
Mirko Galimberti authored and Ozkan Sezer committed 2022-04-26 20:55:40 +03:00
1 parent 5066910bf5
commit b293888c7d
1 file changed
+1 -1
+1 -1
View File
@@ -2210,7 +2210,7 @@ int Cocoa_GetWindowDisplayIndex(_THIS, SDL_Window * window){
instead of checking in which display the window is placed, we should check which SDL display matches the display described instead of checking in which display the window is placed, we should check which SDL display matches the display described
via displayframe. via displayframe.
*/ */
CGRect displayframe = data->nswindow.screen.frame; NSRect displayframe = data->nswindow.screen.frame;
SDL_Point display_center; SDL_Point display_center;
SDL_Rect sdl_display_rect; SDL_Rect sdl_display_rect;