mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-19 10:50:40 +00:00
Add dont_replace_coords to menu_display_ctx_draw_t
This commit is contained in:
parent
1aa8a950ef
commit
f3d072cdcf
@ -502,7 +502,8 @@ bool menu_display_ctl(enum menu_display_ctl_state state, void *data)
|
||||
coords.lut_tex_coord = new_tex_coord;
|
||||
coords.color = (const float*)draw->color;
|
||||
|
||||
draw->coords = &coords;
|
||||
if (!draw->dont_replace_coords)
|
||||
draw->coords = &coords;
|
||||
|
||||
if (!draw->texture)
|
||||
draw->texture = menu_display_white_texture;
|
||||
|
@ -112,6 +112,7 @@ typedef struct menu_display_ctx_draw
|
||||
float y;
|
||||
unsigned width;
|
||||
unsigned height;
|
||||
bool dont_replace_coords;
|
||||
struct gfx_coords *coords;
|
||||
void *matrix_data;
|
||||
uintptr_t texture;
|
||||
|
Loading…
x
Reference in New Issue
Block a user