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>2022-02-17 20:14:03 +0300
committerClément Foucault <foucault.clem@gmail.com>2022-02-17 20:15:31 +0300
commit8355ac97b4327acde8b656e38e5f4911918ef521 (patch)
treef1bd62a325868c15982afc0c84585b5408c8edaf /source/blender/windowmanager/intern/wm_playanim.c
parent37fa1bc254b880d9e8477aec28520e0bdb25b734 (diff)
GPU: Remove runtime sampler texture slot assignment
This avoid potential shader recompilation and is more in line with vulkan design.
Diffstat (limited to 'source/blender/windowmanager/intern/wm_playanim.c')
-rw-r--r--source/blender/windowmanager/intern/wm_playanim.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/windowmanager/intern/wm_playanim.c b/source/blender/windowmanager/intern/wm_playanim.c
index 2ee608c0755..95879829d42 100644
--- a/source/blender/windowmanager/intern/wm_playanim.c
+++ b/source/blender/windowmanager/intern/wm_playanim.c
@@ -483,7 +483,6 @@ static void draw_display_buffer(PlayState *ps, ImBuf *ibuf)
if (!glsl_used) {
immBindBuiltinProgram(GPU_SHADER_2D_IMAGE_COLOR);
immUniformColor3f(1.0f, 1.0f, 1.0f);
- immUniform1i("image", 0);
}
immBegin(GPU_PRIM_TRI_FAN, 4);