diff options
author | Brian Paul <[email protected]> | 2003-09-02 15:10:32 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-09-02 15:10:32 +0000 |
commit | 08dbe5664dac538c7c9fa2b2c287f5874dc66d4d (patch) | |
tree | 160f570255a1a6b91d27d9bf976310b731556b7e | |
parent | 77e85f133c40b5b24a9ae7bd49ab77ab9af78ae0 (diff) |
add missing glNormal, glVertex calls (Michal Wozniak)
-rw-r--r-- | src/mesa/main/api_eval.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/main/api_eval.c b/src/mesa/main/api_eval.c index 1a705f06c92..3302ec3f7d6 100644 --- a/src/mesa/main/api_eval.c +++ b/src/mesa/main/api_eval.c @@ -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) { |