]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/pipelinestate.h
Keep track of the buffers of bound uniform blocks
[libs/gl.git] / source / core / pipelinestate.h
index d0ff349069cee04e69992d2c94fa76233b9f6f0d..bc6087c780ea625d029bc5752c6fc80c3b4bdba0 100644 (file)
@@ -11,6 +11,7 @@ namespace Msp {
 namespace GL {
 
 class Blend;
+class Buffer;
 class DepthTest;
 class Framebuffer;
 class Program;
@@ -49,6 +50,7 @@ private:
                mutable bool changed = false;
                mutable bool used = false;
                const UniformBlock *block = 0;
+               const Buffer *buffer = 0;
 
                BoundUniformBlock(int b): binding(b) { }
        };