]> git.tdb.fi Git - libs/gl.git/blobdiff - source/resources/resources.h
Set OpenGL debug labels on various objects loaded from Resources
[libs/gl.git] / source / resources / resources.h
index 5861bbfb41259a8a910e87f55a2ad78498706c81..a50fdc0e022081602abcaea69c44b4e7d3b2ee9d 100644 (file)
@@ -60,6 +60,9 @@ protected:
        Texture2D *create_texture2d(const std::string &);
        Module *create_module(const std::string &);
        Program *create_program(const std::string &);
+
+       template<typename T>
+       void set_debug_name(const std::string &, T &);
 };
 
 } // namespace GL