From 116986bad573f0b6b2ca10bcf9785b051d7774d8 Mon Sep 17 00:00:00 2001 From: Felix Kuehling Date: Thu, 24 Mar 2005 11:53:19 +0000 Subject: [PATCH] Fixed segfault due to an off-by-one error in SAVAGE_TEX_MAXLEVELS. --- src/mesa/drivers/dri/savage/savagetex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/savage/savagetex.h b/src/mesa/drivers/dri/savage/savagetex.h index f0890373909..f1ee7224145 100644 --- a/src/mesa/drivers/dri/savage/savagetex.h +++ b/src/mesa/drivers/dri/savage/savagetex.h @@ -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 { -- 2.30.2