]> git.tdb.fi Git - libs/gl.git/commitdiff
Restore sampler refresh call
authorMikko Rasa <tdb@tdb.fi>
Sat, 25 Sep 2021 11:20:54 +0000 (14:20 +0300)
committerMikko Rasa <tdb@tdb.fi>
Sat, 25 Sep 2021 11:22:45 +0000 (14:22 +0300)
This got accidentally removed in 2e09b4f.

source/core/pipelinestate.cpp

index 31bde278f44b9405a9cd6bad27c750a33babe80a..1c65cda4434782623bc5e281865d800c080970bb 100644 (file)
@@ -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;