Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2020-06-10 14:36:34 +0300
committerClément Foucault <foucault.clem@gmail.com>2020-06-10 14:37:04 +0300
commitd12f6a90b19084fa0ab1689a01b11a7b6cfa1cca (patch)
tree54e7fb36ba1dec4799f408972b57db66fa2f7d1a /source/blender/editors/screen/glutil.c
parentd4315040ad005807a3f83652ebf8bb8359085d24 (diff)
Fix T77599 Image UV editor use linear interpolation
Diffstat (limited to 'source/blender/editors/screen/glutil.c')
-rw-r--r--source/blender/editors/screen/glutil.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/screen/glutil.c b/source/blender/editors/screen/glutil.c
index a9380debbdc..8df1172dda1 100644
--- a/source/blender/editors/screen/glutil.c
+++ b/source/blender/editors/screen/glutil.c
@@ -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);