diff options
author | Brian Paul <[email protected]> | 2004-02-24 02:42:46 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-02-24 02:42:46 +0000 |
commit | ffa7eff9ff459060364f0ed93865351f7fc15035 (patch) | |
tree | ee9b8f3db41ea0b53b401795ef7ff054fd75b151 /src/mesa/main/api_validate.c | |
parent | cf20f8cc3f92fcc6441b55a793bcede0d83a2a69 (diff) |
glDrawArrays loop was wrong
Diffstat (limited to 'src/mesa/main/api_validate.c')
-rw-r--r-- | src/mesa/main/api_validate.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/api_validate.c b/src/mesa/main/api_validate.c index 004a7595a02..4e09c2855a5 100644 --- a/src/mesa/main/api_validate.c +++ b/src/mesa/main/api_validate.c @@ -227,8 +227,7 @@ _mesa_validate_DrawArrays(GLcontext *ctx, _mesa_update_state(ctx); /* Always need vertex positions */ - if (!ctx->Array.Vertex.Enabled - && !(ctx->VertexProgram.Enabled && ctx->Array.VertexAttrib[0].Enabled)) + if (!ctx->Array.Vertex.Enabled && !ctx->Array.VertexAttrib[0].Enabled) return GL_FALSE; if (ctx->Const.CheckArrayBounds) { |