]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/pipelinestate.cpp
Restore sampler refresh call
[libs/gl.git] / 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;