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

This commit is contained in:
David Ludwig 2013-08-27 12:22:02 -04:00
parent 1e78c4a5d1
commit fa229f3790
1 changed files with 1 additions and 1 deletions

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;
}