]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/program.h
Rename some things in Program
[libs/gl.git] / source / core / program.h
index 5ed61eaafb647654ba2f91ec8860340073f7645a..48c18d0f56333371130710942a4dbdc9076e9f45 100644 (file)
@@ -63,7 +63,11 @@ public:
        {
                std::string name;
                const UniformBlockInfo *block;
-               unsigned location;
+               union
+               {
+                       int location;
+                       unsigned offset;
+               };
                unsigned array_size;
                unsigned array_stride;
                unsigned matrix_stride;