mirror of https://github.com/encounter/SDL.git
WinRT: fixed a crash that occurred on device rotation (oops!)
This commit is contained in:
parent
1e78c4a5d1
commit
fa229f3790
|
@ -125,7 +125,7 @@ WINRT_CreateDevice(int devindex)
|
|||
device->PumpEvents = WINRT_PumpEvents;
|
||||
device->GetWindowWMInfo = WINRT_GetWindowWMInfo;
|
||||
device->free = WINRT_DeleteDevice;
|
||||
WINRT_GlobalSDLVideoDevice = NULL;
|
||||
WINRT_GlobalSDLVideoDevice = device;
|
||||
|
||||
return device;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue