mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-03 16:28:08 +02:00
softpipe: Don't fill surfaces's winsys fields.
This is sometimes checked to distinguish between texture views and (deprecated) standalone surfaces.
This commit is contained in:
parent
fc16ba8553
commit
417a78bdad
1 changed files with 0 additions and 2 deletions
|
|
@ -239,10 +239,8 @@ softpipe_get_tex_surface(struct pipe_screen *screen,
|
|||
|
||||
ps = CALLOC_STRUCT(pipe_surface);
|
||||
ps->refcount = 1;
|
||||
ps->winsys = ws;
|
||||
if (ps) {
|
||||
assert(ps->refcount);
|
||||
assert(ps->winsys);
|
||||
pipe_texture_reference(&ps->texture, pt);
|
||||
pipe_buffer_reference(screen, &ps->buffer, spt->buffer);
|
||||
ps->format = pt->format;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue