Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
WinRT: Removed not needed SDL_zerop() after SDL_calloc().
SDL_calloc() already sets memory to zero.
  • Loading branch information
philippwiesemann committed Aug 3, 2016
1 parent a4abda0 commit 9f97ee8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/video/winrt/SDL_winrtvideo.cpp
Expand Up @@ -127,7 +127,6 @@ WINRT_CreateDevice(int devindex)
SDL_free(device);
return (0);
}
SDL_zerop(data);
device->driverdata = data;

/* Set the function pointers */
Expand Down

0 comments on commit 9f97ee8

Please sign in to comment.