mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 23:50:11 +01:00
vl: fix a douple free in xsp winsys backend
There are a couple of more bugs, but it is only useful for debugging anyway. Signed-off-by: Christian König <deathsimple@vodafone.de>
This commit is contained in:
parent
20be286709
commit
15e60d9976
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ vl_screen_texture_from_drawable(struct vl_screen *vscreen, Drawable drawable)
|
|||
xsp_screen->xdraw.depth = 24/*util_format_get_blocksizebits(templat.format) /
|
||||
util_format_get_blockwidth(templat.format)*/;
|
||||
|
||||
xsp_screen->tex = vscreen->pscreen->resource_create(vscreen->pscreen, &templat);
|
||||
pipe_resource_reference(&xsp_screen->tex, vscreen->pscreen->resource_create(vscreen->pscreen, &templat));
|
||||
return xsp_screen->tex;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue