mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-17 18:40:02 +00:00
engine: platform: sdl: use SetClassLongPtr function to be compatible with 64-bit Windows API
This commit is contained in:
parent
d52b07beac
commit
79dc090aae
@ -609,7 +609,7 @@ static void WIN_SetWindowIcon( HICON ico )
|
|||||||
|
|
||||||
if( SDL_GetWindowWMInfo( host.hWnd, &wminfo ) )
|
if( SDL_GetWindowWMInfo( host.hWnd, &wminfo ) )
|
||||||
{
|
{
|
||||||
SetClassLong( wminfo.info.win.window, GCL_HICON, (LONG)ico );
|
SetClassLongPtr( wminfo.info.win.window, GCLP_HICON, (LONG)ico );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user