From 3b744cb61afe0ded6c44f2419e4e4e27600197ba Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 29 Feb 2012 20:53:47 -0700 Subject: [PATCH] st/mesa: remove old assertion --- src/mesa/state_tracker/st_draw.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c index c4b2caccdc3..e4bc36ed5f8 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) { -- 2.30.2