Explorar o código

WinRT: Removed not needed SDL_zerop() after SDL_calloc().

SDL_calloc() already sets memory to zero.
Philipp Wiesemann %!s(int64=9) %!d(string=hai) anos
pai
achega
9f97ee8a85
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/video/winrt/SDL_winrtvideo.cpp

+ 0 - 1
src/video/winrt/SDL_winrtvideo.cpp

@@ -127,7 +127,6 @@ WINRT_CreateDevice(int devindex)
         SDL_free(device);
         SDL_free(device);
         return (0);
         return (0);
     }
     }
-    SDL_zerop(data);
     device->driverdata = data;
     device->driverdata = data;
 
 
     /* Set the function pointers */
     /* Set the function pointers */