mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 15:40:11 +01:00
added an assertion in the init code, just to be safe
This commit is contained in:
parent
9cb9401e87
commit
eac57f009e
1 changed files with 3 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue