diff options
author | Brian Paul <brianp@vmware.com> | 2012-02-29 20:53:47 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2012-02-29 20:53:47 -0700 |
commit | 3b744cb61afe0ded6c44f2419e4e4e27600197ba (patch) | |
tree | 314bfc07d6fbdfbfb264dedf2f7d51e1ffd3d26e /src | |
parent | dab5f98404677bbbdbe3d5a82b607bfd4689b48e (diff) | |
download | external_mesa3d-3b744cb61afe0ded6c44f2419e4e4e27600197ba.zip external_mesa3d-3b744cb61afe0ded6c44f2419e4e4e27600197ba.tar.gz external_mesa3d-3b744cb61afe0ded6c44f2419e4e4e27600197ba.tar.bz2 |
st/mesa: remove old assertion
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/state_tracker/st_draw.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c index c4b2cac..e4bc36e 100644 --- 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) { |