added an assertion in the init code, just to be safe

This commit is contained in:
Brian Paul 2001-03-07 23:22:08 +00:00
parent 9cb9401e87
commit eac57f009e

View file

@ -805,6 +805,9 @@ static void TAG(init)( void )
setup_tab[IND].vertex_size = 8;
setup_tab[IND].vertex_stride_shift = 5;
}
assert(setup_tab[IND].vertex_size * 4 <=
1 << setup_tab[IND].vertex_stride_shift);
}