GUI: fix THE ICON
This commit is contained in:
parent
8e1bedbb3b
commit
aa7e1da95e
|
@ -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!");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue