]> git.tdb.fi Git - libs/gl.git/blobdiff - source/render/renderer.h
Cache texture bindings when the shader program does not change
[libs/gl.git] / source / render / renderer.h
index 001ec7e1ca11864c172cef70219872de36fdbb6d..107efcb742cdb5ee98015bb19ffaf7b77d0f70d2 100644 (file)
@@ -59,7 +59,7 @@ private:
        struct BoundTexture
        {
                Tag tag;
-               mutable int unit = -1;
+               mutable int binding = -1;
                const Texture *texture = 0;
                const Sampler *sampler = 0;
                int replaced = -1;