X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fcore%2Fpipelinestate.h;h=89cf1cd7261df3c29f20cb769eddc6e6c6c93bb7;hp=105003d1750de54720d9071360eaf7f1236a9cb7;hb=58c5647c775e38dd08a64ad435dfe0673a62fcd1;hpb=02cc42fc113bcc17a28ff9d93a9e4b3f26fbb91f 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) { }