mesa/st: drop unused param

Signed-off-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20772>
This commit is contained in:
Eric Engestrom 2023-01-18 17:54:29 +00:00 committed by Marge Bot
parent ddc721e15c
commit 34e6530518

View file

@ -1057,7 +1057,6 @@ st_api_get_current(void)
static struct gl_framebuffer *
st_framebuffer_reuse_or_create(struct st_context *st,
struct gl_framebuffer *fb,
struct pipe_frontend_drawable *drawable)
{
struct gl_framebuffer *cur = NULL, *stfb = NULL;
@ -1114,12 +1113,10 @@ st_api_make_current(struct st_context *st,
if (st) {
/* reuse or create the draw fb */
stdraw = st_framebuffer_reuse_or_create(st,
st->ctx->WinSysDrawBuffer, stdrawi);
stdraw = st_framebuffer_reuse_or_create(st, stdrawi);
if (streadi != stdrawi) {
/* do the same for the read fb */
stread = st_framebuffer_reuse_or_create(st,
st->ctx->WinSysReadBuffer, streadi);
stread = st_framebuffer_reuse_or_create(st, streadi);
}
else {
stread = NULL;