mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-24 16:50:22 +01:00
Fixed a typo in an assertion. (Don't understand how this ever compiled.)
Found by Andreas Stenglein.
This commit is contained in:
parent
b64d4a27cb
commit
557dce9bc2
1 changed files with 1 additions and 1 deletions
|
|
@ -536,7 +536,7 @@ driAllocateTexture( driTexHeap * const * heap_array, unsigned nr_heaps,
|
|||
/* Trying to avoid dynamic memory allocation. If you have more
|
||||
* heaps, increase INDEX_ARRAY_SIZE. I'm not aware of any
|
||||
* drivers with more than 2 tex heaps. */
|
||||
assert( nr_neaps < INDEX_ARRAY_SIZE );
|
||||
assert( nr_heaps < INDEX_ARRAY_SIZE );
|
||||
|
||||
/* Sort large enough heaps by duty. Insertion sort should be
|
||||
* fast enough for such a short array. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue