diff --git a/src/mesa/main/draw.c b/src/mesa/main/draw.c index 3a7c390784d..aa4934fdb27 100644 --- a/src/mesa/main/draw.c +++ b/src/mesa/main/draw.c @@ -1212,16 +1212,6 @@ _mesa_validated_multidrawelements(struct gl_context *ctx, GLenum mode, } } - /* Draw primitives individually if one count is zero, so we can easily skip - * that primitive. - */ - for (i = 0; i < primcount; i++) { - if (count[i] == 0) { - fallback = GL_TRUE; - break; - } - } - /* If the index buffer isn't in a VBO, then treating the application's * subranges of the index buffer as one large index buffer may lead to * us reading unmapped memory.