diff --git a/source/blender/windowmanager/intern/wm_splash_screen.cc b/source/blender/windowmanager/intern/wm_splash_screen.cc index 602d7838fa1..b076432199c 100644 --- a/source/blender/windowmanager/intern/wm_splash_screen.cc +++ b/source/blender/windowmanager/intern/wm_splash_screen.cc @@ -148,10 +148,6 @@ static ImBuf *wm_block_splash_image(int width, int *r_height) } if (ibuf == nullptr) { - bTheme *btheme = UI_GetTheme(); - - unsigned char* menu_color = btheme->tui.wcol_menu_back.inner; - int sum = menu_color[0] + menu_color[1] + menu_color[2]; const uchar *splash_data = (const uchar *)datatoc_splash_png; size_t splash_data_size = datatoc_splash_png_size;