mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
WinRT: Removed not needed SDL_zerop() after SDL_calloc().
SDL_calloc() already sets memory to zero.
This commit is contained in:
parent
a4abda0b70
commit
9f97ee8a85
@ -127,7 +127,6 @@ WINRT_CreateDevice(int devindex)
|
|||||||
SDL_free(device);
|
SDL_free(device);
|
||||||
return (0);
|
return (0);
|
||||||
}
|
}
|
||||||
SDL_zerop(data);
|
|
||||||
device->driverdata = data;
|
device->driverdata = data;
|
||||||
|
|
||||||
/* Set the function pointers */
|
/* Set the function pointers */
|
||||||
|
Loading…
Reference in New Issue
Block a user