ソースを参照

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

SDL_calloc() already sets memory to zero.
Philipp Wiesemann 8 年 前
コミット
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 */