diff options
-rw-r--r-- | src/mesa/drivers/dri/common/texmem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/common/texmem.c b/src/mesa/drivers/dri/common/texmem.c index 8fdad874124..192b7870491 100644 --- a/src/mesa/drivers/dri/common/texmem.c +++ b/src/mesa/drivers/dri/common/texmem.c @@ -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. */ |