r300CreateContext: Really initialize r300->initialMaxAnisotropy.
authorMichel Dänzer <michel@tungstengraphics.com>
Sat, 3 Feb 2007 16:23:19 +0000 (17:23 +0100)
committerMichel Dänzer <michel@tungstengraphics.com>
Sat, 3 Feb 2007 16:23:19 +0000 (17:23 +0100)
src/mesa/drivers/dri/r300/r300_context.c

index 00489ba14e3cf50279129cb8893d644811adbef3..d10a9d87d3115bb4c1e48f0e1b5ca823d8170838 100644 (file)
@@ -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;