diff options
author | Jerome Glisse <[email protected]> | 2009-05-20 16:34:06 +0200 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2009-05-20 16:34:06 +0200 |
commit | c696dd0f62c195d71cf7ecbdd04d9b156dd0da0b (patch) | |
tree | d06337610f0eb1b5c68ae4522ad787fadbeb024c /src/mesa/drivers/dri/r200 | |
parent | 8308bf9ee155b405ad42e6621daf33a108330418 (diff) |
radeon: set max texture size
This still need some work to actually report somethings reasonable
if no memory manager is available.
Diffstat (limited to 'src/mesa/drivers/dri/r200')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_context.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_context.c b/src/mesa/drivers/dri/r200/r200_context.c index f80f0d8ac73..8924849d082 100644 --- a/src/mesa/drivers/dri/r200/r200_context.c +++ b/src/mesa/drivers/dri/r200/r200_context.c @@ -354,6 +354,10 @@ GLboolean r200CreateContext( const __GLcontextModes *glVisual, i = driQueryOptioni( &rmesa->radeon.optionCache, "allow_large_textures"); + /* FIXME: When no memory manager is available we should set this + * to some reasonable value based on texture memory pool size */ + ctx->Const.MaxTextureLevels = 12; + ctx->Const.MaxTextureMaxAnisotropy = 16.0; /* No wide AA points. |