mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-21 00:00:22 +01:00
for VERTEX_ATTRIB_WEIGHT, use break, not return
This commit is contained in:
parent
4a901667e5
commit
d9aebd8498
1 changed files with 2 additions and 1 deletions
|
|
@ -1494,12 +1494,13 @@ parse_attrib_binding(GLcontext * ctx, const GLubyte ** inst,
|
|||
#if 1
|
||||
/* hack for Warcraft (see bug 8060) */
|
||||
_mesa_warning(ctx, "Application error: vertex program uses 'vertex.weight' but GL_ARB_vertex_blend not supported.");
|
||||
break;
|
||||
#else
|
||||
program_error(ctx, Program->Position,
|
||||
"ARB_vertex_blend not supported");
|
||||
return 1;
|
||||
#endif
|
||||
}
|
||||
return 1;
|
||||
|
||||
case VERTEX_ATTRIB_NORMAL:
|
||||
*inputReg = VERT_ATTRIB_NORMAL;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue