mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 04:38:03 +02:00
xlib: Implement lp_winsys::destroy.
This commit is contained in:
parent
9053bb0d40
commit
d336ef410a
1 changed files with 9 additions and 0 deletions
|
|
@ -364,6 +364,13 @@ no_xm_dt:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
static void
|
||||||
|
xm_destroy( struct llvmpipe_winsys *ws )
|
||||||
|
{
|
||||||
|
FREE(ws);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
static struct llvmpipe_winsys *
|
static struct llvmpipe_winsys *
|
||||||
xlib_create_llvmpipe_winsys( void )
|
xlib_create_llvmpipe_winsys( void )
|
||||||
{
|
{
|
||||||
|
|
@ -373,6 +380,8 @@ xlib_create_llvmpipe_winsys( void )
|
||||||
if (!ws)
|
if (!ws)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
ws->base.destroy = xm_destroy;
|
||||||
|
|
||||||
ws->base.is_displaytarget_format_supported = xm_is_displaytarget_format_supported;
|
ws->base.is_displaytarget_format_supported = xm_is_displaytarget_format_supported;
|
||||||
|
|
||||||
ws->base.displaytarget_create = xm_displaytarget_create;
|
ws->base.displaytarget_create = xm_displaytarget_create;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue