mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-30 03:30:10 +01:00
add missing glNormal, glVertex calls (Michal Wozniak)
This commit is contained in:
parent
77e85f133c
commit
08dbe5664d
1 changed files with 3 additions and 1 deletions
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
/*
|
||||
* Mesa 3-D graphics library
|
||||
* Version: 5.1
|
||||
|
|
@ -209,10 +208,13 @@ static void do_EvalCoord2f( GLcontext* ctx, GLfloat u, GLfloat v )
|
|||
|
||||
CROSS_PROD(normal, du, dv);
|
||||
NORMALIZE_3FV(normal);
|
||||
glNormal3fv( normal );
|
||||
glVertex4fv( vertex );
|
||||
}
|
||||
else {
|
||||
_math_horner_bezier_surf(map->Points, vertex, uu, vv, 4,
|
||||
map->Uorder, map->Vorder);
|
||||
glVertex4fv( vertex );
|
||||
}
|
||||
}
|
||||
else if (ctx->Eval.Map2Vertex3) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue