src/video/winrt/SDL_winrtvideo.cpp
changeset 10269 efff2efeb166
parent 10163 0f89301aae00
child 10277 29d7289e9055
equal deleted inserted replaced
10268:f97a7faf0b58 10269:efff2efeb166
   125     if (!data) {
   125     if (!data) {
   126         SDL_OutOfMemory();
   126         SDL_OutOfMemory();
   127         SDL_free(device);
   127         SDL_free(device);
   128         return (0);
   128         return (0);
   129     }
   129     }
   130     SDL_zerop(data);
       
   131     device->driverdata = data;
   130     device->driverdata = data;
   132 
   131 
   133     /* Set the function pointers */
   132     /* Set the function pointers */
   134     device->VideoInit = WINRT_VideoInit;
   133     device->VideoInit = WINRT_VideoInit;
   135     device->VideoQuit = WINRT_VideoQuit;
   134     device->VideoQuit = WINRT_VideoQuit;