mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-11 05:16:12 +00:00
Cleanup color_rect
This commit is contained in:
parent
da004daa8a
commit
e8ad0d183b
@ -152,16 +152,10 @@ static void color_rect(uint16_t *buf, unsigned pitch,
|
||||
static void blit_line(int x, int y, const char *message, bool green)
|
||||
{
|
||||
unsigned i, j;
|
||||
rgui_handle_t *rgui = NULL;
|
||||
|
||||
if (!driver.menu)
|
||||
return;
|
||||
|
||||
rgui = (rgui_handle_t*)driver.menu->userdata;
|
||||
|
||||
if (!rgui)
|
||||
return;
|
||||
|
||||
while (*message)
|
||||
{
|
||||
for (j = 0; j < FONT_HEIGHT; j++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user