Commit c89e8470 authored by Marek Olšák's avatar Marek Olšák

st/mesa: purge framebuffers when unbinding a context

This fixes pipe_surface "leaks".

Cc: 18.3 <>
Acked-by: Timothy Arceri's avatarTimothy Arceri <>
parent 5c17c018
......@@ -1095,7 +1095,12 @@ st_api_make_current(struct st_api *stapi, struct st_context_iface *stctxi,
else {
ret = _mesa_make_current(NULL, NULL, NULL);
if (ctx)
return ret;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment