projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
871dc64
)
swrast: remove bogus assertion
author
Brian Paul
<brianp@vmware.com>
Fri, 11 Nov 2011 00:12:15 +0000
(17:12 -0700)
committer
Brian Paul
<brianp@vmware.com>
Fri, 11 Nov 2011 14:12:55 +0000
(07:12 -0700)
It would fail for images that were never allocated (and wouldn't be
used during rendering).
src/mesa/swrast/s_texture.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_texture.c
b/src/mesa/swrast/s_texture.c
index
ba67c6f
..
76a31ee
100644
(file)
--- a/
src/mesa/swrast/s_texture.c
+++ b/
src/mesa/swrast/s_texture.c
@@
-241,7
+241,6
@@
_swrast_map_texture(struct gl_context *ctx, struct gl_texture_object *texObj)
/* XXX we'll eventually call _swrast_map_teximage() here */
swImage->Data = swImage->Buffer;
- assert(swImage->Buffer);
}
}
}