]> git.tdb.fi Git - libs/gl.git/blobdiff - source/program.h
Sort the uniforms in Program::UniformBlockInfo by offset
[libs/gl.git] / source / program.h
index 132c21d5b126ec7d1dc3d2d9bb94ec1814747fb0..21b38c255e7262d77d01800c2204d27c75c7f0f8 100644 (file)
@@ -109,6 +109,7 @@ public:
        void link();
 private:
        static unsigned compute_layout_hash(const std::vector<const UniformInfo *> &);
+       static bool uniform_location_compare(const UniformInfo *, const UniformInfo *);
 public:
        bool is_linked() const { return linked; }
        std::string get_info_log() const;