Commit 2c385f8f authored by Roland Scheidegger's avatar Roland Scheidegger

nouveau: drm compile fix

parent b285086e
......@@ -36,7 +36,7 @@ dri_surface_from_handle(struct drm_api *api, struct pipe_screen *pscreen,
whandle.stride = pitch;
whandle.handle = handle;
pt = pscreen->texture_from_handle(pscreen, &tmpl, &whandle);
pt = pscreen->resource_from_handle(pscreen, &tmpl, &whandle);
if (!pt)
return NULL;
......
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