GUI: fix THE ICON

This commit is contained in:
tildearrow 2023-02-15 22:04:14 -05:00
parent 8e1bedbb3b
commit aa7e1da95e
1 changed files with 1 additions and 1 deletions

View File

@ -5447,7 +5447,7 @@ bool FurnaceGUI::init() {
const FurnaceGUIImage* furIcon=getImage(GUI_IMAGE_ICON);
SDL_Surface* icon=NULL;
if (furIcon!=NULL) {
SDL_CreateRGBSurfaceFrom(furIcon->data,furIcon->width,furIcon->height,32,256*4,0xff,0xff00,0xff0000,0xff000000);
icon=SDL_CreateRGBSurfaceFrom(furIcon->data,furIcon->width,furIcon->height,32,256*4,0xff,0xff00,0xff0000,0xff000000);
} else {
logE("furIcon is NULL!");
}