]> git.tdb.fi Git - libs/gl.git/blobdiff - source/resources/resources.h
Add keywords for light and material to Resources::Loader
[libs/gl.git] / source / resources / resources.h
index 293670f9cc06f78563c07a73d5cee3964bf5d781..f830faaa510ff722a7dfc485195b015217efef48 100644 (file)
@@ -28,7 +28,8 @@ public:
                Loader(Resources &);
 
        private:
-               void scene(const std::string &);
+               template<typename T>
+               void generic(const std::string &);
        };
 
 private:
@@ -62,7 +63,7 @@ protected:
        Program *create_program(const std::string &);
 
        template<typename T>
-       void set_debug_name(const std::string &, T &);
+       static void set_debug_name(const std::string &, T &);
 };
 
 } // namespace GL