From 0093817da1c1e4fae91ce0c9fa6f388812dd6e54 Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Mon, 5 Jun 2023 00:49:18 +0200 Subject: [PATCH] (PSL1GHT) Buildfix --- gfx/drivers/rsx_gfx.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gfx/drivers/rsx_gfx.c b/gfx/drivers/rsx_gfx.c index 7bb0d4d900..b00ec8336c 100644 --- a/gfx/drivers/rsx_gfx.c +++ b/gfx/drivers/rsx_gfx.c @@ -698,9 +698,9 @@ static void rsx_font_render_message(rsx_t *rsx, } static void rsx_font_setup_viewport( - rsx_t *rsx, + rsx_t *rsx, rsx_font_t *font, unsigned width, unsigned height, - rsx_font_t *font, bool full_screen) + bool full_screen) { rsx_set_viewport(rsx, width, height, full_screen, false); @@ -784,7 +784,7 @@ static void rsx_font_render_msg( if (font->block) font->block->fullscreen = full_screen; else - rsx_font_setup_viewport(width, height, font, full_screen); + rsx_font_setup_viewport(rsx, font, width, height, full_screen); if ( !string_is_empty(msg) && font->font_data @@ -838,8 +838,8 @@ static void rsx_font_flush_block(unsigned width, unsigned height, if (!font || !block || !block->carr.coords.vertices || !rsx) return; - rsx_font_setup_viewport(rsx, width, height, font, block->fullscreen); - rsx_font_draw_vertices(rsx, font, (video_coords_t*)&block->carr.coords); + rsx_font_setup_viewport(rsx, font, width, height, block->fullscreen); + rsx_font_draw_vertices (rsx, font, (video_coords_t*)&block->carr.coords); /* Restore viewport */ rsxTextureControl(rsx->context, font->tex_unit->index,