PSP_RunCommandQueue: fix argument to PSP_SetBlendState()

src/render/psp/SDL_render_psp.c: In function 'PSP_RunCommandQueue':
src/render/psp/SDL_render_psp.c:1200: warning: passing argument 1 of 'PSP_SetBlendState' from incompatible pointer type
This commit is contained in:
Ozkan Sezer 2022-01-08 11:56:56 +03:00
parent df1474b46e
commit 4472b83129
1 changed files with 1 additions and 1 deletions

View File

@ -1197,7 +1197,7 @@ PSP_RunCommandQueue(SDL_Renderer * renderer, SDL_RenderCommand *cmd, void *verti
.shadeModel = GU_FLAT
};
TextureActivate(cmd->data.draw.texture);
PSP_SetBlendState(renderer, &state);
PSP_SetBlendState(renderer->driverdata, &state);
sceGuDrawArray(GU_TRIANGLES, GU_TEXTURE_32BITF|GU_COLOR_8888|GU_VERTEX_32BITF|GU_TRANSFORM_2D, count, 0, verts);
}
break;