comparison src/video/wincommon/SDL_sysmouse.c @ 1472:4aac8563c296

Fixed more Win64 portability issues
author Sam Lantinga <slouken@libsdl.org>
date Mon, 06 Mar 2006 08:11:10 +0000
parents 84de7511f79f
children 782fd950bd46 c121d94672cb a1b03ba2fcd0
comparison
equal deleted inserted replaced
1471:9fb0eee04dd9 1472:4aac8563c296
170 aptr += pad; 170 aptr += pad;
171 } 171 }
172 172
173 /* Create the cursor */ 173 /* Create the cursor */
174 cursor->curs = CreateCursor( 174 cursor->curs = CreateCursor(
175 (HINSTANCE)GetWindowLongPtr(SDL_Window, GWL_HINSTANCE), 175 (HINSTANCE)GetWindowLongPtr(SDL_Window, GWLP_HINSTANCE),
176 hot_x, hot_y, allowed_x, allowed_y, 176 hot_x, hot_y, allowed_x, allowed_y,
177 cursor->ands, cursor->xors); 177 cursor->ands, cursor->xors);
178 if ( cursor->curs == NULL ) { 178 if ( cursor->curs == NULL ) {
179 WIN_FreeWMCursor(NULL, cursor); 179 WIN_FreeWMCursor(NULL, cursor);
180 SDL_SetError("Windows couldn't create the requested cursor"); 180 SDL_SetError("Windows couldn't create the requested cursor");