]> git.tdb.fi Git - libs/gl.git/blobdiff - source/resources/resources.h
Remove the deprecated srgb_conversion flag from Resources
[libs/gl.git] / source / resources / resources.h
index 589ea5ae78d9f758b30fd2d65b55964983c09f1a..0743f763f306406920f175d541d1714429e09990 100644 (file)
@@ -82,7 +82,6 @@ private:
                virtual void type(const DataFile::Symbol &);
        };
 
-       bool srgb_conversion;
        ResourceManager *resource_manager;
 
        static Resources *global_resources;
@@ -94,12 +93,6 @@ public:
        static Resources &get_global();
        static const DataFile::CollectionSource &get_builtins();
 
-       /** Enables or disables sRGB conversion.  If enabled, textures and material
-       colors are converted from sRGB to linear color space when loaded. */
-       DEPRECATED void set_srgb_conversion(bool);
-
-       DEPRECATED bool get_srgb_conversion() const { return srgb_conversion; }
-
        void set_resource_manager(ResourceManager *);
 
 protected: