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
----------------------------------------------------------------------
#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
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,