mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 10:18:05 +02:00
i965: use BRW_TEXCOORDMODE_CLAMP instead of BRW_TEXCOORDMODE_CLAMP_BORDER
to implement GL_CLAMP
This commit is contained in:
parent
c2ac825e67
commit
ab99960858
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue