summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common
diff options
context:
space:
mode:
authorFelix Kuehling <fxkuehl@gmx.de>2005-02-05 13:17:34 +0000
committerFelix Kuehling <fxkuehl@gmx.de>2005-02-05 13:17:34 +0000
commit557dce9bc2e9a705a08969bef110f870ca8b37e3 (patch)
treeaddc8f11dc236669926dd913fc85aca43839683e /src/mesa/drivers/dri/common
parentb64d4a27cb44325803a348e3b2ccb7ef12af4ccd (diff)
Fixed a typo in an assertion. (Don't understand how this ever compiled.)
Found by Andreas Stenglein.
Diffstat (limited to 'src/mesa/drivers/dri/common')
-rw-r--r--src/mesa/drivers/dri/common/texmem.c2
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 8fdad87412..192b787049 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. */