From 0c7520a69373a5e2c5ec14713ea22a3bdc66f3fa Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sat, 25 Sep 2021 14:20:54 +0300 Subject: [PATCH] Restore sampler refresh call This got accidentally removed in 2e09b4f. --- source/core/pipelinestate.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/core/pipelinestate.cpp b/source/core/pipelinestate.cpp index 31bde278..1c65cda4 100644 --- a/source/core/pipelinestate.cpp +++ b/source/core/pipelinestate.cpp @@ -267,6 +267,7 @@ void PipelineState::apply(unsigned mask) const bound_tex_targets[t.binding] = t.texture->target; glBindSampler(t.binding, t.sampler->id); + t.sampler->refresh(); } t.changed = false; -- 2.43.0