Mercurial > sdl-ios-xcode
changeset 4266:62849663f20a SDL-1.2
Removed duplicate memset() calls.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Tue, 29 Sep 2009 13:40:34 +0000 |
parents | c7b1d5eaa77d |
children | 27f972dd5aff |
files | src/video/x11/SDL_x11video.c |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/video/x11/SDL_x11video.c Tue Sep 29 13:07:36 2009 +0000 +++ b/src/video/x11/SDL_x11video.c Tue Sep 29 13:40:34 2009 +0000 @@ -109,10 +109,8 @@ SDL_memset(device, 0, (sizeof *device)); device->hidden = (struct SDL_PrivateVideoData *) SDL_malloc((sizeof *device->hidden)); - SDL_memset(device->hidden, 0, (sizeof *device->hidden)); device->gl_data = (struct SDL_PrivateGLData *) SDL_malloc((sizeof *device->gl_data)); - SDL_memset(device->gl_data, 0, (sizeof *device->gl_data)); } if ( (device == NULL) || (device->hidden == NULL) || (device->gl_data == NULL) ) {