summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl/t_vtx_eval.c
diff options
context:
space:
mode:
authorJouk Jansen <[email protected]>2003-12-08 08:58:52 +0000
committerJouk Jansen <[email protected]>2003-12-08 08:58:52 +0000
commit2799d2535ab013ec82c79e3f98f92cdef43dbdf3 (patch)
tree0e40aa862cf10860d39b3e297436cc05c047da7a /src/mesa/tnl/t_vtx_eval.c
parent173f9ae031b43ae15d4d1ff1563eefeb83647895 (diff)
Committing in .
Solves array boundary out of bound which causes problems on OpenVMS (and maybe other systems) Modified Files: Mesa-newtree/src/mesa/tnl/t_vb_lighttmp.h Mesa-newtree/src/mesa/tnl/t_vtx_eval.c ----------------------------------------------------------------------
Diffstat (limited to 'src/mesa/tnl/t_vtx_eval.c')
-rw-r--r--src/mesa/tnl/t_vtx_eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vtx_eval.c b/src/mesa/tnl/t_vtx_eval.c
index 5b5cb624c9a..0878827cd97 100644
--- a/src/mesa/tnl/t_vtx_eval.c
+++ b/src/mesa/tnl/t_vtx_eval.c
@@ -210,7 +210,7 @@ void _tnl_do_EvalCoord2f( GLcontext* ctx, GLfloat u, GLfloat v )
ASSIGN_4V(vertex, 0, 0, 0, 1);
if (ctx->Eval.AutoNormal) {
- GLfloat normal[3];
+ GLfloat normal[4];
GLfloat du[4], dv[4];
_math_de_casteljau_surf(map->Points, vertex, du, dv, uu, vv,