From: Mikko Rasa Date: Sat, 25 Sep 2021 11:20:54 +0000 (+0300) Subject: Restore sampler refresh call X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=0c7520a69373a5e2c5ec14713ea22a3bdc66f3fa;p=libs%2Fgl.git Restore sampler refresh call This got accidentally removed in 2e09b4f. --- 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;