]> git.tdb.fi Git - libs/gl.git/blobdiff - source/resources.h
Use an explicit material slot name in RenderPass
[libs/gl.git] / source / resources.h
index 838b022989b69eb9ea73c31c5cb57a6da4ab62bd..c0529b581c464602d6b5726c3e53d245d5cb2e35 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef MSP_GL_RESOURCES_H_
 #define MSP_GL_RESOURCES_H_
 
-#include <msp/datafile/builtinsource.h>
 #include <msp/datafile/collection.h>
 #include "texture.h"
 
@@ -27,10 +26,8 @@ private:
 public:
        Resources();
 
-private:
-       static DataFile::BuiltinSource &get_builtins();
+       static const DataFile::CollectionSource &get_builtins();
 
-public:
        void set_default_texture_filter(TextureFilter);
 
        /** Enables or disables sRGB conversion.  If enabled, textures and material