summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2007-02-03 17:23:19 +0100
committerMichel Dänzer <michel@tungstengraphics.com>2007-02-03 17:23:19 +0100
commit0afc2d37c32540b90bcb7861186b80a781dc0a4a (patch)
tree92982399afc7acfd9c3d4917a8bedd0bfacb30e2
parentb59657ad965f9471574e914b861bb1d2a17d772e (diff)
r300CreateContext: Really initialize r300->initialMaxAnisotropy.
-rw-r--r--src/mesa/drivers/dri/r300/r300_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r300/r300_context.c b/src/mesa/drivers/dri/r300/r300_context.c
index 00489ba14e..d10a9d87d3 100644
--- a/src/mesa/drivers/dri/r300/r300_context.c
+++ b/src/mesa/drivers/dri/r300/r300_context.c
@@ -200,6 +200,8 @@ GLboolean r300CreateContext(const __GLcontextModes * glVisual,
*/
driParseConfigFiles(&r300->radeon.optionCache, &screen->optionCache,
screen->driScreen->myNum, "r300");
+ r300->initialMaxAnisotropy = driQueryOptionf(&r300->radeon.optionCache,
+ "def_max_anisotropy");
//r300->texmicrotile = GL_TRUE;