Commit d336ef41 authored by Jose Fonseca's avatar Jose Fonseca

xlib: Implement lp_winsys::destroy.

parent 9053bb0d
......@@ -364,6 +364,13 @@ no_xm_dt:
}
static void
xm_destroy( struct llvmpipe_winsys *ws )
{
FREE(ws);
}
static struct llvmpipe_winsys *
xlib_create_llvmpipe_winsys( void )
{
......@@ -373,6 +380,8 @@ xlib_create_llvmpipe_winsys( void )
if (!ws)
return NULL;
ws->base.destroy = xm_destroy;
ws->base.is_displaytarget_format_supported = xm_is_displaytarget_format_supported;
ws->base.displaytarget_create = xm_displaytarget_create;
......
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