Browse Source

engine: platform: sdl: use SetClassLongPtr function to be compatible with 64-bit Windows API

pull/2/head
Alibek Omarov 3 years ago
parent
commit
79dc090aae
  1. 2
      engine/platform/sdl/vid_sdl.c

2
engine/platform/sdl/vid_sdl.c

@ -609,7 +609,7 @@ static void WIN_SetWindowIcon( HICON ico ) @@ -609,7 +609,7 @@ static void WIN_SetWindowIcon( HICON ico )
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

Loading…
Cancel
Save