diff options
-rw-r--r-- | src/mesa/drivers/dri/savage/savage_xmesa.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/savage/savage_xmesa.c b/src/mesa/drivers/dri/savage/savage_xmesa.c index 3eb7953f6de..721047bb893 100644 --- a/src/mesa/drivers/dri/savage/savage_xmesa.c +++ b/src/mesa/drivers/dri/savage/savage_xmesa.c @@ -295,8 +295,8 @@ savageCreateContext( const __GLcontextModes *mesaVis, if (size > maxTextureSize) break; } - ctx->Const.MaxTextureLevels = maxTextureLevels-1; - assert (ctx->Const.MaxTextureLevels >= 6); /*spec requires at least 64x64*/ + ctx->Const.MaxTextureLevels = maxTextureLevels; + assert (ctx->Const.MaxTextureLevels > 6); /*spec requires at least 64x64*/ #if 0 ctx->Const.MinLineWidth = 1.0; |