Module: Mesa Branch: gallium-0.2 Commit: 417a78bdad11976f89e7bb12e3de0138995a2b1f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=417a78bdad11976f89e7bb12e3de0138995a2b1f
Author: José Fonseca <jfons...@vmware.com> Date: Mon Dec 22 20:23:59 2008 +0000 softpipe: Don't fill surfaces's winsys fields. This is sometimes checked to distinguish between texture views and (deprecated) standalone surfaces. --- 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 fbe73e6..a64dc89 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; _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit