Mercurial > sdl-ios-xcode
diff src/video/windib/SDL_dibvideo.c @ 1480:0a2bd6507477
More Win64 updates
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Tue, 07 Mar 2006 05:21:32 +0000 |
parents | 4aac8563c296 |
children | 21b1fbb53f4a |
line wrap: on
line diff
--- a/src/video/windib/SDL_dibvideo.c Tue Mar 07 04:58:30 2006 +0000 +++ b/src/video/windib/SDL_dibvideo.c Tue Mar 07 05:21:32 2006 +0000 @@ -647,7 +647,7 @@ screen_pal = DIB_CreatePalette(bpp); } - style = GetWindowLongPtr(SDL_Window, GWL_STYLE); + style = GetWindowLong(SDL_Window, GWL_STYLE); style &= ~(resizestyle|WS_MAXIMIZE); if ( (video->flags & SDL_FULLSCREEN) == SDL_FULLSCREEN ) { style &= ~windowstyle; @@ -677,7 +677,7 @@ /* DJM: Don't piss of anyone who has setup his own window */ if ( !SDL_windowid ) - SetWindowLongPtr(SDL_Window, GWL_STYLE, style); + SetWindowLong(SDL_Window, GWL_STYLE, style); /* Delete the old bitmap if necessary */ if ( screen_bmp != NULL ) { @@ -780,7 +780,7 @@ bounds.top = SDL_windowY; bounds.right = SDL_windowX+video->w; bounds.bottom = SDL_windowY+video->h; - AdjustWindowRectEx(&bounds, GetWindowLongPtr(SDL_Window, GWL_STYLE), FALSE, 0); + AdjustWindowRectEx(&bounds, GetWindowLong(SDL_Window, GWL_STYLE), FALSE, 0); width = bounds.right-bounds.left; height = bounds.bottom-bounds.top; if ( (flags & SDL_FULLSCREEN) ) {