Просмотр исходного кода

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

SDL_calloc() already sets memory to zero.
Philipp Wiesemann 9 лет назад
Родитель
Сommit
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 */