diff options
author | Xiang, Haihao <[email protected]> | 2007-08-15 13:28:00 +0800 |
---|---|---|
committer | Xiang, Haihao <[email protected]> | 2007-08-15 13:28:00 +0800 |
commit | ab999608582534bb5187a786b2ea437167f2d8a4 (patch) | |
tree | c7c71a5501799c91f2d52045b31a41c6af0f6f2f | |
parent | c2ac825e67f0c2da4385eadb3e01eeb295ccc8a2 (diff) |
i965: use BRW_TEXCOORDMODE_CLAMP instead of BRW_TEXCOORDMODE_CLAMP_BORDER
to implement GL_CLAMP
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_wm_sampler_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_wm_sampler_state.c b/src/mesa/drivers/dri/i965/brw_wm_sampler_state.c index 93d4cfc3a5f..83a4b02e483 100644 --- a/src/mesa/drivers/dri/i965/brw_wm_sampler_state.c +++ b/src/mesa/drivers/dri/i965/brw_wm_sampler_state.c @@ -54,7 +54,7 @@ static GLuint translate_wrap_mode( GLenum wrap ) case GL_REPEAT: return BRW_TEXCOORDMODE_WRAP; case GL_CLAMP: - return BRW_TEXCOORDMODE_CLAMP_BORDER; /* conform likes it this way */ + return BRW_TEXCOORDMODE_CLAMP; case GL_CLAMP_TO_EDGE: return BRW_TEXCOORDMODE_CLAMP; /* conform likes it this way */ case GL_CLAMP_TO_BORDER: |