st/mesa: remove old assertion
authorBrian Paul <brianp@vmware.com>
Thu, 1 Mar 2012 03:53:47 +0000 (20:53 -0700)
committerBrian Paul <brianp@vmware.com>
Thu, 1 Mar 2012 03:53:47 +0000 (20:53 -0700)
src/mesa/state_tracker/st_draw.c

index c4b2caccdc3de1d323136efd5e2150ea77a48a51..e4bc36ed5f8d2c3f048f592ed9ad2eb4ae0b3572 100644 (file)
@@ -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) {