Commit 46bbadf1 authored by Erik Faye-Lund 's avatar Erik Faye-Lund

zink: stub resource_from_handle

parent f918f35d
......@@ -322,12 +322,22 @@ zink_resource_get_handle(struct pipe_screen *pscreen,
return true;
static struct pipe_resource *
zink_resource_from_handle(struct pipe_screen *pscreen,
const struct pipe_resource *templat,
struct winsys_handle *whandle,
unsigned usage)
return NULL;
zink_screen_resource_init(struct pipe_screen *pscreen)
pscreen->resource_create = zink_resource_create;
pscreen->resource_destroy = zink_resource_destroy;
pscreen->resource_get_handle = zink_resource_get_handle;
pscreen->resource_from_handle = zink_resource_from_handle;
static bool
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment