Skip to content

Commit

Permalink
PSP: use 'data' variable which is alread the driver data
Browse files Browse the repository at this point in the history
  • Loading branch information
1bsyl committed Jan 8, 2022
1 parent 9f1e609 commit 3cdda8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/render/psp/SDL_render_psp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3cdda8f

Please sign in to comment.