Commit 14938464 authored by Erik Faye-Lund 's avatar Erik Faye-Lund

zink: initialize nr_samples for pipe_surface

parent ee163173
......@@ -48,6 +48,7 @@ zink_create_surface(struct pipe_context *pctx,
surface->base.format = templ->format;
surface->base.width = u_minify(pres->width0, level);
surface->base.height = u_minify(pres->height0, level);
surface->base.nr_samples = templ->nr_samples;
surface->base.u.tex.level = level;
surface->base.u.tex.first_layer = templ->u.tex.first_layer;
surface->base.u.tex.last_layer = templ->u.tex.last_layer;
......
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