فهرست منبع

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

SDL_calloc() already sets memory to zero.
Philipp Wiesemann 9 سال پیش
والد
کامیت
9f97ee8a85
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  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);
         return (0);
     }
-    SDL_zerop(data);
     device->driverdata = data;
 
     /* Set the function pointers */