Browse Source

new assertion

tags/mesa-6_5-20060712
Brian Paul 19 years ago
parent
commit
3c18d49607
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/mesa/tnl/t_array_import.c

+ 2
- 0
src/mesa/tnl/t_array_import.c View File

@@ -226,6 +226,8 @@ static void _tnl_import_attrib( GLcontext *ctx,
GLboolean is_writable = 0;
const GLubyte *data;

ASSERT(index < MAX_VERTEX_PROGRAM_ATTRIBS);

tmp = _ac_import_attrib(ctx, index, GL_FLOAT,
stride ? 4 * sizeof(GLfloat) : 0,
4, /* want GLfloat[4] */

Loading…
Cancel
Save