projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e4a56d
)
ctx->Const.MaxTextureLevels is not the highest mipmap level but the number
author
Felix Kuehling
<fxkuehl@gmx.de>
Sun, 21 Mar 2004 21:58:03 +0000
(21:58 +0000)
committer
Felix Kuehling
<fxkuehl@gmx.de>
Sun, 21 Mar 2004 21:58:03 +0000
(21:58 +0000)
> of levels, including 0.
src/mesa/drivers/dri/savage/savage_xmesa.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/savage/savage_xmesa.c
b/src/mesa/drivers/dri/savage/savage_xmesa.c
index 3eb7953f6def70aac55b21d25afb3a5777feb524..721047bb8933d5d2efbd1ccc947706592bbc77ab 100644
(file)
--- 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;