projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b64d4a2
)
Fixed a typo in an assertion. (Don't understand how this ever compiled.)
author
Felix Kuehling
<fxkuehl@gmx.de>
Sat, 5 Feb 2005 13:17:34 +0000
(13:17 +0000)
committer
Felix Kuehling
<fxkuehl@gmx.de>
Sat, 5 Feb 2005 13:17:34 +0000
(13:17 +0000)
Found by Andreas Stenglein.
src/mesa/drivers/dri/common/texmem.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/common/texmem.c
b/src/mesa/drivers/dri/common/texmem.c
index 8fdad87412471b31ed45a09db525d46b8517ada8..192b7870491e245788c25436866a08d54a9ee887 100644
(file)
--- 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_
n
eaps < INDEX_ARRAY_SIZE );
+ assert( nr_
h
eaps < INDEX_ARRAY_SIZE );
/* Sort large enough heaps by duty. Insertion sort should be
* fast enough for such a short array. */