comparison src/video/wincommon/SDL_wingl.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
comparison
equal deleted inserted replaced
1479:993ef9ff4688 1480:0a2bd6507477
43 /* If we were passed a window, then we can't create a new one */ 43 /* If we were passed a window, then we can't create a new one */
44 if ( !SDL_windowid ) { 44 if ( !SDL_windowid ) {
45 /* Save the existing window attributes */ 45 /* Save the existing window attributes */
46 LONG style; 46 LONG style;
47 RECT rect = { 0, 0, 0, 0 }; 47 RECT rect = { 0, 0, 0, 0 };
48 style = GetWindowLongPtr(SDL_Window, GWL_STYLE); 48 style = GetWindowLong(SDL_Window, GWL_STYLE);
49 GetWindowRect(SDL_Window, &rect); 49 GetWindowRect(SDL_Window, &rect);
50 DestroyWindow(SDL_Window); 50 DestroyWindow(SDL_Window);
51 SDL_Window = CreateWindow(SDL_Appname, SDL_Appname, 51 SDL_Window = CreateWindow(SDL_Appname, SDL_Appname,
52 style, 52 style,
53 rect.left, rect.top, 53 rect.left, rect.top,