summaryrefslogtreecommitdiff
path: root/src/mesa/tnl/t_vb_lighttmp.h
diff options
context:
space:
mode:
authorJouk Jansen <joukj@hrem.stm.tudelft.nl>2003-12-08 08:58:52 +0000
committerJouk Jansen <joukj@hrem.stm.tudelft.nl>2003-12-08 08:58:52 +0000
commit2799d2535ab013ec82c79e3f98f92cdef43dbdf3 (patch)
tree0e40aa862cf10860d39b3e297436cc05c047da7a /src/mesa/tnl/t_vb_lighttmp.h
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_vb_lighttmp.h')
-rw-r--r--src/mesa/tnl/t_vb_lighttmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/tnl/t_vb_lighttmp.h b/src/mesa/tnl/t_vb_lighttmp.h
index 7af1a4bfab..cd7988518b 100644
--- a/src/mesa/tnl/t_vb_lighttmp.h
+++ b/src/mesa/tnl/t_vb_lighttmp.h
@@ -444,7 +444,7 @@ static void TAG(light_fast_rgba_single)( GLcontext *ctx,
#endif
const struct gl_light *light = ctx->Light.EnabledList.next;
GLuint j = 0;
- GLfloat base[2][3];
+ GLfloat base[2][4];
const GLuint nr = VB->Count;
#ifdef TRACE