X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fpipelinestate.cpp;h=1c65cda4434782623bc5e281865d800c080970bb;hb=0c7520a69373a5e2c5ec14713ea22a3bdc66f3fa;hp=31bde278f44b9405a9cd6bad27c750a33babe80a;hpb=f1892fec5b1c0e894ec06327ebc485dd4b08ca7c;p=libs%2Fgl.git 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;