OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
77e85f1
)
add missing glNormal, glVertex calls (Michal Wozniak)
author
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 2 Sep 2003 15:10:32 +0000
(15:10 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 2 Sep 2003 15:10:32 +0000
(15:10 +0000)
src/mesa/main/api_eval.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/api_eval.c
b/src/mesa/main/api_eval.c
index
1a705f0
..
3302ec3
100644
(file)
--- 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) {