projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc16ba8
)
softpipe: Don't fill surfaces's winsys fields.
author
José Fonseca
<jfonseca@vmware.com>
Mon, 22 Dec 2008 20:23:59 +0000
(20:23 +0000)
committer
José Fonseca
<jfonseca@vmware.com>
Mon, 22 Dec 2008 20:23:59 +0000
(20:23 +0000)
This is sometimes checked to distinguish between texture views and
(deprecated) standalone surfaces.
src/gallium/drivers/softpipe/sp_texture.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/softpipe/sp_texture.c
b/src/gallium/drivers/softpipe/sp_texture.c
index fbe73e691527abc1b9b9d61fbfd9e1c6cbad2794..a64dc89f4325dfd158d82d2bc601d0f892eb7f9d 100644
(file)
--- 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;