Mercurial > sdl-ios-xcode
diff src/video/photon/SDL_ph_mouse.c @ 380:bce7171e7a85
Date: Wed, 22 May 2002 22:30:58 +0300
From: "Mike Gorchak" <mike@malva.com.ua>
Subject: One more QNX patch
Hi !
- Fixed graywin test application. Added properly support for
window size not equal to 640x480.
- Added support for not aligned pitch of image in SDL_SWSURFACE
and SDL_HWSURFACE. Using Photon builtin alignes.
- Added memory clear after each malloc to avoid problems in the
future :)
- Removed unused variables and static variables, fixed some warnings.
- Updated readme.QNX file.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 28 May 2002 19:31:32 +0000 |
parents | 3333b6e68289 |
children | 8e3ce997621c |
line wrap: on
line diff
--- a/src/video/photon/SDL_ph_mouse.c Tue May 28 19:24:11 2002 +0000 +++ b/src/video/photon/SDL_ph_mouse.c Tue May 28 19:31:32 2002 +0000 @@ -67,8 +67,8 @@ /* Allocate and initialize the cursor memory */ if ((cursor = (WMcursor*)malloc(sizeof(WMcursor))) == NULL) { - SDL_OutOfMemory(); - return(NULL); + SDL_OutOfMemory(); + return(NULL); } memset(cursor,0,sizeof(WMcursor));