diff options
author | José Fonseca <[email protected]> | 2008-12-22 20:23:59 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-12-22 20:23:59 +0000 |
commit | 417a78bdad11976f89e7bb12e3de0138995a2b1f (patch) | |
tree | 3377791efb251087b8cca44c0a420c802949077b /src/gallium | |
parent | fc16ba8553e239acf68c6ea5f9729c4f02b2ffc4 (diff) |
softpipe: Don't fill surfaces's winsys fields.
This is sometimes checked to distinguish between texture views and
(deprecated) standalone surfaces.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/softpipe/sp_texture.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/drivers/softpipe/sp_texture.c b/src/gallium/drivers/softpipe/sp_texture.c index fbe73e69152..a64dc89f432 100644 --- a/src/gallium/drivers/softpipe/sp_texture.c +++ b/src/gallium/drivers/softpipe/sp_texture.c @@ -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; |