From: Brian Paul Date: Thu, 1 Mar 2012 03:53:47 +0000 (-0700) Subject: st/mesa: remove old assertion X-Git-Tag: mesa-9.0~2950 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3b744cb61afe0ded6c44f2419e4e4e27600197ba;p=platform%2Fupstream%2Fmesa.git st/mesa: remove old assertion --- 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) {