summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r200
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2011-11-04 17:13:53 +0000
committerDave Airlie <[email protected]>2011-11-04 17:17:17 +0000
commit26ebf9c5e106962aa440586296b8fde76ef0c76a (patch)
tree0b9eddaa266dcb7d6614b6ed06ecddc9ec024803 /src/mesa/drivers/dri/r200
parent71f1d468b4e183c45e4f76f7951beb44dd74a707 (diff)
radeon/r200: strip texture borders.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/r200')
-rw-r--r--src/mesa/drivers/dri/r200/r200_context.c2
1 files changed, 2 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