mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-01-18 10:57:07 +00:00
Displays are now referenced by instance ID instead of index
This commit is contained in:
@@ -57,7 +57,7 @@ WINRT_TransformCursorPosition(SDL_Window *window,
|
||||
return rawPosition;
|
||||
}
|
||||
|
||||
SDL_WindowData *windowData = (SDL_WindowData *)window->driverdata;
|
||||
SDL_WindowData *windowData = window->driverdata;
|
||||
if (windowData->coreWindow == nullptr) {
|
||||
// For some reason, the window isn't associated with a CoreWindow.
|
||||
// This might end up being the case as XAML support is extended.
|
||||
|
||||
Reference in New Issue
Block a user