From fed60c62b66adb74e35f613f2607616eda05eacb Mon Sep 17 00:00:00 2001 From: libretroadmin Date: Mon, 20 Feb 2023 14:58:09 +0100 Subject: [PATCH] (PSL1GHT) Newer PSL1GHT versions since Mar 3, 2021 have renamed SetZControl to SetZMinMaxControl --- gfx/drivers/rsx_gfx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers/rsx_gfx.c b/gfx/drivers/rsx_gfx.c index 07328dcd36..43bb9cc873 100644 --- a/gfx/drivers/rsx_gfx.c +++ b/gfx/drivers/rsx_gfx.c @@ -970,7 +970,7 @@ static void rsx_clear_surface(rsx_t* rsx) | GCM_CLEAR_A | GCM_CLEAR_S | GCM_CLEAR_Z); - rsxSetZControl(rsx->context, 0, 1, 1); + rsxSetZMinMaxControl(rsx->context, 0, 1, 1); } static void rsx_draw_vertices(rsx_t* rsx)