WinRT: Removed not needed SDL_zerop() after SDL_calloc().
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Wed, 03 Aug 2016 22:32:02 +0200
changeset 10269 efff2efeb166
parent 10268 f97a7faf0b58
child 10270 724516f210e6
WinRT: Removed not needed SDL_zerop() after SDL_calloc(). SDL_calloc() already sets memory to zero.
src/video/winrt/SDL_winrtvideo.cpp
--- a/src/video/winrt/SDL_winrtvideo.cpp	Wed Aug 03 22:30:31 2016 +0200
+++ b/src/video/winrt/SDL_winrtvideo.cpp	Wed Aug 03 22:32:02 2016 +0200
@@ -127,7 +127,6 @@
         SDL_free(device);
         return (0);
     }
-    SDL_zerop(data);
     device->driverdata = data;
 
     /* Set the function pointers */