mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-02-04 03:04:14 +00:00
engine: platform: sdl: unused variable cleanup
This commit is contained in:
parent
0c2d480d89
commit
9ec1e259b4
@ -654,9 +654,9 @@ static void VID_SetWindowIcon( SDL_Window *hWnd )
|
||||
{
|
||||
rgbdata_t *icon = NULL;
|
||||
char iconpath[MAX_STRING];
|
||||
#if XASH_WIN32 // ICO support only for Win32
|
||||
const char *localIcoPath;
|
||||
|
||||
#if XASH_WIN32 // ICO support only for Win32
|
||||
if(( localIcoPath = FS_GetDiskPath( GI->iconpath, true )))
|
||||
{
|
||||
HICON ico = (HICON)LoadImage( NULL, localIcoPath, IMAGE_ICON, 0, 0, LR_LOADFROMFILE|LR_DEFAULTSIZE );
|
||||
|
Loading…
x
Reference in New Issue
Block a user