WinRT: fixed a crash that occurred on device rotation (oops!)

This commit is contained in:
David Ludwig committed 2013-08-27 12:22:02 -04:00
1 parent 1e78c4a5d1
commit fa229f3790
1 file changed
+1 -1
+1 -1
View File
@@ -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;
}