]> git.tdb.fi Git - libs/gl.git/blobdiff - source/core/texture.h
Combine the external_image functions in Texture::Loader
[libs/gl.git] / source / core / texture.h
index 13ff5bc9f73095094a0800cd1efbd5aaa3a4246a..ff56e85cb233d97ff5b822c5360255b7c9e2a8bc 100644 (file)
@@ -49,9 +49,7 @@ protected:
                void load_external_image(Graphics::Image &, const std::string &);
 
        private:
-               void external_image(const std::string &);
-               void external_image_srgb(const std::string &);
-               void external_image_common(const std::string &);
+               void external_image(bool, const std::string &);
                void generate_mipmap(bool);
                void image_data(const std::string &);
                void mipmap_levels(unsigned);