diff options
author | Dave Airlie <[email protected]> | 2011-11-04 17:13:53 +0000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2011-11-04 17:17:17 +0000 |
commit | 26ebf9c5e106962aa440586296b8fde76ef0c76a (patch) | |
tree | 0b9eddaa266dcb7d6614b6ed06ecddc9ec024803 /src | |
parent | 71f1d468b4e183c45e4f76f7951beb44dd74a707 (diff) |
radeon/r200: strip texture borders.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/r200/r200_context.c | 2 | ||||
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_context.c | 2 |
2 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 901172c9bfb..b33fc2a4744 100644 --- a/src/mesa/drivers/dri/r200/r200_context.c +++ b/src/mesa/drivers/dri/r200/r200_context.c @@ -276,6 +276,8 @@ GLboolean r200CreateContext( gl_api api, ctx->Const.MaxCombinedTextureImageUnits = ctx->Const.MaxTextureUnits; + ctx->Const.StripTextureBorder = GL_TRUE; + i = driQueryOptioni( &rmesa->radeon.optionCache, "allow_large_textures"); /* FIXME: When no memory manager is available we should set this diff --git a/src/mesa/drivers/dri/radeon/radeon_context.c b/src/mesa/drivers/dri/radeon/radeon_context.c index ebe4e66526b..46dcafa6876 100644 --- a/src/mesa/drivers/dri/radeon/radeon_context.c +++ b/src/mesa/drivers/dri/radeon/radeon_context.c @@ -237,6 +237,8 @@ r100CreateContext( gl_api api, ctx->Const.MaxTextureCoordUnits = ctx->Const.MaxTextureUnits; ctx->Const.MaxCombinedTextureImageUnits = ctx->Const.MaxTextureUnits; + ctx->Const.StripTextureBorder = GL_TRUE; + i = driQueryOptioni( &rmesa->radeon.optionCache, "allow_large_textures"); /* FIXME: When no memory manager is available we should set this |