projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dab5f98
)
st/mesa: remove old assertion
author
Brian Paul
<brianp@vmware.com>
Thu, 1 Mar 2012 03:53:47 +0000
(20:53 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 1 Mar 2012 03:53:47 +0000
(20:53 -0700)
src/mesa/state_tracker/st_draw.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_draw.c
b/src/mesa/state_tracker/st_draw.c
index c4b2caccdc3de1d323136efd5e2150ea77a48a51..e4bc36ed5f8d2c3f048f592ed9ad2eb4ae0b3572 100644
(file)
--- a/
src/mesa/state_tracker/st_draw.c
+++ b/
src/mesa/state_tracker/st_draw.c
@@
-1016,9
+1016,6
@@
st_draw_vbo(struct gl_context *ctx,
if (st->dirty.st) {
GLboolean vertDataEdgeFlags;
- /* sanity check for pointer arithmetic below */
- assert(sizeof(arrays[0]->Ptr[0]) == 1);
-
vertDataEdgeFlags = arrays[VERT_ATTRIB_EDGEFLAG]->BufferObj &&
arrays[VERT_ATTRIB_EDGEFLAG]->BufferObj->Name;
if (vertDataEdgeFlags != st->vertdata_edgeflags) {