X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fpipelinestate.h;h=89cf1cd7261df3c29f20cb769eddc6e6c6c93bb7;hb=eddb5cfd959eaa202ee6f95cd2049349ec920829;hp=105003d1750de54720d9071360eaf7f1236a9cb7;hpb=53c15ccd0318a8f5428184eef19a350b6adf4c0c;p=libs%2Fgl.git diff --git a/source/core/pipelinestate.h b/source/core/pipelinestate.h index 105003d1..89cf1cd7 100644 --- a/source/core/pipelinestate.h +++ b/source/core/pipelinestate.h @@ -35,6 +35,7 @@ private: { unsigned binding = 0; mutable bool changed = false; + mutable bool used = false; const Texture *texture = 0; const Sampler *sampler = 0; @@ -45,6 +46,7 @@ private: { int binding = 0; mutable bool changed = false; + mutable bool used = false; const UniformBlock *block = 0; BoundUniformBlock(int b): binding(b) { }