]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/program.h
Add default constructors for the info structs in Program
[libs/gl.git] / source / core / program.h
index 6f84cfd26436e314b6d48d02dac8e7c0e2b51154..5ed61eaafb647654ba2f91ec8860340073f7645a 100644 (file)
@@ -68,6 +68,8 @@ public:
                unsigned array_stride;
                unsigned matrix_stride;
                DataType type;
+
+               UniformInfo();
        };
 
        struct UniformBlockInfo
@@ -77,6 +79,8 @@ public:
                int bind_point;
                std::vector<const UniformInfo *> uniforms;
                LayoutHash layout_hash;
+
+               UniformBlockInfo();
        };
 
        struct AttributeInfo
@@ -85,6 +89,8 @@ public:
                unsigned location;
                unsigned array_size;
                DataType type;
+
+               AttributeInfo();
        };
 
        typedef std::map<std::string, UniformInfo> UniformMap;