src/video/wincommon/SDL_wingl.c
changeset 1480 0a2bd6507477
parent 1472 4aac8563c296
child 1523 21b1fbb53f4a
     1.1 --- a/src/video/wincommon/SDL_wingl.c	Tue Mar 07 04:58:30 2006 +0000
     1.2 +++ b/src/video/wincommon/SDL_wingl.c	Tue Mar 07 05:21:32 2006 +0000
     1.3 @@ -45,7 +45,7 @@
     1.4  		/* Save the existing window attributes */
     1.5  		LONG style;
     1.6  		RECT rect = { 0, 0, 0, 0 };
     1.7 -		style = GetWindowLongPtr(SDL_Window, GWL_STYLE);
     1.8 +		style = GetWindowLong(SDL_Window, GWL_STYLE);
     1.9  		GetWindowRect(SDL_Window, &rect);
    1.10  		DestroyWindow(SDL_Window);
    1.11  		SDL_Window = CreateWindow(SDL_Appname, SDL_Appname,