Fix T77599 Image UV editor use linear interpolation
This commit is contained in:
parent
d4315040ad
commit
d12f6a90b1
Notes:
blender-bot
2023-02-13 22:13:31 +01:00
Referenced by issue #77599, Clicking on image in image editor or UV editor causes it to switch to a kind of linear interpolation.
|
@ -147,6 +147,7 @@ void immDrawPixelsTexScaled_clipping(IMMDrawPixelsTexState *state,
|
|||
glPixelStorei(GL_UNPACK_ROW_LENGTH, img_w);
|
||||
glActiveTexture(GL_TEXTURE0);
|
||||
glBindTexture(GL_TEXTURE_2D, texid);
|
||||
glBindSampler(0, 0);
|
||||
|
||||
/* don't want nasty border artifacts */
|
||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE);
|
||||
|
|
Loading…
Reference in New Issue