From 3cdda8f8ab901340224405873e536bd231657513 Mon Sep 17 00:00:00 2001 From: Sylvain Date: Sat, 8 Jan 2022 21:58:26 +0100 Subject: [PATCH] PSP: use 'data' variable which is alread the driver data --- src/render/psp/SDL_render_psp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/psp/SDL_render_psp.c b/src/render/psp/SDL_render_psp.c index e7fca22a5..9431b929b 100644 --- a/src/render/psp/SDL_render_psp.c +++ b/src/render/psp/SDL_render_psp.c @@ -1212,7 +1212,7 @@ PSP_RunCommandQueue(SDL_Renderer * renderer, SDL_RenderCommand *cmd, void *verti .shadeModel = GU_FLAT }; TextureActivate(cmd->data.draw.texture); - PSP_SetBlendState(renderer->driverdata, &state); + PSP_SetBlendState(data, &state); sceGuDrawArray(GU_TRIANGLES, GU_TEXTURE_32BITF|GU_COLOR_8888|GU_VERTEX_32BITF|GU_TRANSFORM_2D, count, 0, verts); } break;