From: Felix Kuehling Date: Thu, 24 Mar 2005 11:53:19 +0000 (+0000) Subject: Fixed segfault due to an off-by-one error in SAVAGE_TEX_MAXLEVELS. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=116986bad573f0b6b2ca10bcf9785b051d7774d8;p=mesa.git Fixed segfault due to an off-by-one error in SAVAGE_TEX_MAXLEVELS. --- 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 {