Fixed segfault due to an off-by-one error in SAVAGE_TEX_MAXLEVELS.
authorFelix Kuehling <fxkuehl@gmx.de>
Thu, 24 Mar 2005 11:53:19 +0000 (11:53 +0000)
committerFelix Kuehling <fxkuehl@gmx.de>
Thu, 24 Mar 2005 11:53:19 +0000 (11:53 +0000)
src/mesa/drivers/dri/savage/savagetex.h

index f08903739099b5f6136303fdd9d2232516b12e4f..f1ee72241455def0382de2a0ff1506320552ab4e 100644 (file)
@@ -31,7 +31,7 @@
 #include "savagecontext.h"
 #include "texmem.h"
 
-#define SAVAGE_TEX_MAXLEVELS 11
+#define SAVAGE_TEX_MAXLEVELS 12
 
 /** \brief Texture tiling information */
 typedef struct savage_tileinfo_t {