diff --git a/example/template/demo/tgui_demo/tgui_demo/tgui_port.c b/example/template/demo/tgui_demo/tgui_demo/tgui_port.c index 230a35536..f6241ed4f 100644 --- a/example/template/demo/tgui_demo/tgui_demo/tgui_port.c +++ b/example/template/demo/tgui_demo/tgui_demo/tgui_port.c @@ -168,7 +168,7 @@ static inline void vsf_tgui_sdl_tile_get_pixel(const char* pixelmap_ptr, vsf_tgu argb_color.green = *pixelmap_ptr++; argb_color.blue = *pixelmap_ptr++; - if (type == VSF_TILE_TGUI_COLORTYPE_RGBA) { + if (type == VSF_TGUI_TILE_COLORTYPE_RGBA) { argb_color.alpha = *pixelmap_ptr++; } else { argb_color.alpha = 0xFF;