PSP: use 'data' variable which is alread the driver data

This commit is contained in:
Sylvain 2022-01-08 21:58:26 +01:00
parent 9f1e609aa0
commit 3cdda8f8ab
No known key found for this signature in database
GPG key ID: 5F87E02E5BC0939E

View file

@ -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;