goto invalid_enum_error;
if (ctx->Eval.AutoNormal == state)
return;
- FLUSH_VERTICES(ctx, _NEW_EVAL);
+ FLUSH_VERTICES(ctx, 0);
+ vbo_exec_update_eval_maps(ctx);
ctx->Eval.AutoNormal = state;
break;
case GL_BLEND:
goto invalid_enum_error;
if (ctx->Eval.Map1Color4 == state)
return;
- FLUSH_VERTICES(ctx, _NEW_EVAL);
+ FLUSH_VERTICES(ctx, 0);
+ vbo_exec_update_eval_maps(ctx);
ctx->Eval.Map1Color4 = state;
break;
case GL_MAP1_INDEX:
goto invalid_enum_error;
if (ctx->Eval.Map1Index == state)
return;
- FLUSH_VERTICES(ctx, _NEW_EVAL);
+ FLUSH_VERTICES(ctx, 0);
+ vbo_exec_update_eval_maps(ctx);
ctx->Eval.Map1Index = state;
break;
case GL_MAP1_NORMAL:
goto invalid_enum_error;
if (ctx->Eval.Map1Normal == state)
return;
- FLUSH_VERTICES(ctx, _NEW_EVAL);
+ FLUSH_VERTICES(ctx, 0);
+ vbo_exec_update_eval_maps(ctx);
ctx->Eval.Map1Normal = state;
break;
case GL_MAP1_TEXTURE_COORD_1:
goto invalid_enum_error;
if (ctx->Eval.Map1TextureCoord1 == state)
return;
- FLUSH_VERTICES(ctx, _NEW_EVAL);
+ FLUSH_VERTICES(ctx, 0);
+ vbo_exec_update_eval_maps(ctx);
ctx->Eval.Map1TextureCoord1 = state;
break;
case GL_MAP1_TEXTURE_COORD_2:
goto invalid_enum_error;
if (ctx->Eval.Map1TextureCoord2 == state)
return;
- FLUSH_VERTICES(ctx, _NEW_EVAL);
+ FLUSH_VERTICES(ctx, 0);
+ vbo_exec_update_eval_maps(ctx);
ctx->Eval.Map1TextureCoord2 = state;
break;
case GL_MAP1_TEXTURE_COORD_3:
goto invalid_enum_error;
if (ctx->Eval.Map1TextureCoord3 == state)
return;
- FLUSH_VERTICES(ctx, _NEW_EVAL);
+ FLUSH_VERTICES(ctx, 0);
+ vbo_exec_update_eval_maps(ctx);
ctx->Eval.Map1TextureCoord3 = state;
break;
case GL_MAP1_TEXTURE_COORD_4:
goto invalid_enum_error;
if (ctx->Eval.Map1TextureCoord4 == state)
return;
- FLUSH_VERTICES(ctx, _NEW_EVAL);
+ FLUSH_VERTICES(ctx, 0);
+ vbo_exec_update_eval_maps(ctx);
ctx->Eval.Map1TextureCoord4 = state;
break;
case GL_MAP1_VERTEX_3:
goto invalid_enum_error;
if (ctx->Eval.Map1Vertex3 == state)
return;
- FLUSH_VERTICES(ctx, _NEW_EVAL);
+ FLUSH_VERTICES(ctx, 0);
+ vbo_exec_update_eval_maps(ctx);
ctx->Eval.Map1Vertex3 = state;
break;
case GL_MAP1_VERTEX_4:
goto invalid_enum_error;
if (ctx->Eval.Map1Vertex4 == state)
return;
- FLUSH_VERTICES(ctx, _NEW_EVAL);
+ FLUSH_VERTICES(ctx, 0);
+ vbo_exec_update_eval_maps(ctx);
ctx->Eval.Map1Vertex4 = state;
break;
case GL_MAP2_COLOR_4:
goto invalid_enum_error;
if (ctx->Eval.Map2Color4 == state)
return;
- FLUSH_VERTICES(ctx, _NEW_EVAL);
+ FLUSH_VERTICES(ctx, 0);
+ vbo_exec_update_eval_maps(ctx);
ctx->Eval.Map2Color4 = state;
break;
case GL_MAP2_INDEX:
goto invalid_enum_error;
if (ctx->Eval.Map2Index == state)
return;
- FLUSH_VERTICES(ctx, _NEW_EVAL);
+ FLUSH_VERTICES(ctx, 0);
+ vbo_exec_update_eval_maps(ctx);
ctx->Eval.Map2Index = state;
break;
case GL_MAP2_NORMAL:
goto invalid_enum_error;
if (ctx->Eval.Map2Normal == state)
return;
- FLUSH_VERTICES(ctx, _NEW_EVAL);
+ FLUSH_VERTICES(ctx, 0);
+ vbo_exec_update_eval_maps(ctx);
ctx->Eval.Map2Normal = state;
break;
case GL_MAP2_TEXTURE_COORD_1:
goto invalid_enum_error;
if (ctx->Eval.Map2TextureCoord1 == state)
return;
- FLUSH_VERTICES(ctx, _NEW_EVAL);
+ FLUSH_VERTICES(ctx, 0);
+ vbo_exec_update_eval_maps(ctx);
ctx->Eval.Map2TextureCoord1 = state;
break;
case GL_MAP2_TEXTURE_COORD_2:
goto invalid_enum_error;
if (ctx->Eval.Map2TextureCoord2 == state)
return;
- FLUSH_VERTICES(ctx, _NEW_EVAL);
+ FLUSH_VERTICES(ctx, 0);
+ vbo_exec_update_eval_maps(ctx);
ctx->Eval.Map2TextureCoord2 = state;
break;
case GL_MAP2_TEXTURE_COORD_3:
goto invalid_enum_error;
if (ctx->Eval.Map2TextureCoord3 == state)
return;
- FLUSH_VERTICES(ctx, _NEW_EVAL);
+ FLUSH_VERTICES(ctx, 0);
+ vbo_exec_update_eval_maps(ctx);
ctx->Eval.Map2TextureCoord3 = state;
break;
case GL_MAP2_TEXTURE_COORD_4:
goto invalid_enum_error;
if (ctx->Eval.Map2TextureCoord4 == state)
return;
- FLUSH_VERTICES(ctx, _NEW_EVAL);
+ FLUSH_VERTICES(ctx, 0);
+ vbo_exec_update_eval_maps(ctx);
ctx->Eval.Map2TextureCoord4 = state;
break;
case GL_MAP2_VERTEX_3:
goto invalid_enum_error;
if (ctx->Eval.Map2Vertex3 == state)
return;
- FLUSH_VERTICES(ctx, _NEW_EVAL);
+ FLUSH_VERTICES(ctx, 0);
+ vbo_exec_update_eval_maps(ctx);
ctx->Eval.Map2Vertex3 = state;
break;
case GL_MAP2_VERTEX_4:
goto invalid_enum_error;
if (ctx->Eval.Map2Vertex4 == state)
return;
- FLUSH_VERTICES(ctx, _NEW_EVAL);
+ FLUSH_VERTICES(ctx, 0);
+ vbo_exec_update_eval_maps(ctx);
ctx->Eval.Map2Vertex4 = state;
break;
case GL_NORMALIZE:
pnts = _mesa_copy_map_points1d(target, ustride, uorder, (GLdouble*) points);
- FLUSH_VERTICES(ctx, _NEW_EVAL);
+ FLUSH_VERTICES(ctx, 0);
+ vbo_exec_update_eval_maps(ctx);
map->Order = uorder;
map->u1 = u1;
map->u2 = u2;
vstride, vorder, (GLdouble*) points);
- FLUSH_VERTICES(ctx, _NEW_EVAL);
+ FLUSH_VERTICES(ctx, 0);
+ vbo_exec_update_eval_maps(ctx);
map->Uorder = uorder;
map->u1 = u1;
map->u2 = u2;
_mesa_error( ctx, GL_INVALID_VALUE, "glMapGrid1f" );
return;
}
- FLUSH_VERTICES(ctx, _NEW_EVAL);
+ FLUSH_VERTICES(ctx, 0);
+ vbo_exec_update_eval_maps(ctx);
ctx->Eval.MapGrid1un = un;
ctx->Eval.MapGrid1u1 = u1;
ctx->Eval.MapGrid1u2 = u2;
return;
}
- FLUSH_VERTICES(ctx, _NEW_EVAL);
+ FLUSH_VERTICES(ctx, 0);
+ vbo_exec_update_eval_maps(ctx);
ctx->Eval.MapGrid2un = un;
ctx->Eval.MapGrid2u1 = u1;
ctx->Eval.MapGrid2u2 = u2;