mirror of https://github.com/encounter/SDL.git
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:
parent
df1474b46e
commit
4472b83129
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue