mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
If a core was loaded, GLUI would get a white color. This fixes it.
This commit is contained in:
parent
dfeb46f0f2
commit
1b28ff59ba
@ -792,6 +792,7 @@ static void mui_frame(void *data)
|
|||||||
float *header_bg_color = blue_bg;
|
float *header_bg_color = blue_bg;
|
||||||
float *highlighted_entry_color = lightblue_bg;
|
float *highlighted_entry_color = lightblue_bg;
|
||||||
float *footer_bg_color = white_bg;
|
float *footer_bg_color = white_bg;
|
||||||
|
float *body_bg_color = white_transp_bg;
|
||||||
|
|
||||||
uint32_t font_normal_color = 0x212121ff;
|
uint32_t font_normal_color = 0x212121ff;
|
||||||
uint32_t font_hover_color = 0x212121ff;
|
uint32_t font_hover_color = 0x212121ff;
|
||||||
@ -812,6 +813,7 @@ static void mui_frame(void *data)
|
|||||||
header_bg_color = greyish_blue;
|
header_bg_color = greyish_blue;
|
||||||
highlighted_entry_color = grey_bg;
|
highlighted_entry_color = grey_bg;
|
||||||
footer_bg_color = almost_black;
|
footer_bg_color = almost_black;
|
||||||
|
body_bg_color = almost_black;
|
||||||
|
|
||||||
font_normal_color = 0xffffffff;
|
font_normal_color = 0xffffffff;
|
||||||
font_hover_color = 0x00000000;
|
font_hover_color = 0x00000000;
|
||||||
@ -854,7 +856,7 @@ static void mui_frame(void *data)
|
|||||||
draw.width = width;
|
draw.width = width;
|
||||||
draw.height = height;
|
draw.height = height;
|
||||||
draw.texture = menu_display_white_texture;
|
draw.texture = menu_display_white_texture;
|
||||||
draw.color = &white_transp_bg[0];
|
draw.color = &body_bg_color[0];
|
||||||
draw.vertex = NULL;
|
draw.vertex = NULL;
|
||||||
draw.tex_coord = NULL;
|
draw.tex_coord = NULL;
|
||||||
draw.vertex_count = 4;
|
draw.vertex_count = 4;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user