]> git.tdb.fi Git - libs/gl.git/commitdiff
Remove the obsolete storage statement with border
authorMikko Rasa <tdb@tdb.fi>
Thu, 27 Oct 2016 08:01:19 +0000 (11:01 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 27 Oct 2016 08:01:19 +0000 (11:01 +0300)
source/texture2d.cpp
source/texture2d.h

index 2189fa83360ba5ed93264f84383f249a236b7e0b..ae1afbc60cca9f0e64f05c743af38b0b64241e13 100644 (file)
@@ -168,7 +168,6 @@ void Texture2D::Loader::init()
 {
        add("raw_data", &Loader::raw_data);
        add("storage", &Loader::storage);
-       add("storage", &Loader::storage_b);
 }
 
 void Texture2D::Loader::raw_data(const string &data)
@@ -183,11 +182,6 @@ void Texture2D::Loader::storage(PixelFormat fmt, unsigned w, unsigned h)
        obj.storage(fmt, w, h);
 }
 
-void Texture2D::Loader::storage_b(PixelFormat fmt, unsigned w, unsigned h, unsigned)
-{
-       storage(fmt, w, h);
-}
-
 
 Texture2D::AsyncLoader::AsyncLoader(Texture2D &t, IO::Seekable &i):
        texture(t),
index 674c778f9782116dce94ef4c663e1dda89931953..92dafc7142e31b980493cc20013725f73d29f3c3 100644 (file)
@@ -27,7 +27,6 @@ public:
 
                void raw_data(const std::string &);
                void storage(PixelFormat, unsigned, unsigned);
-               void storage_b(PixelFormat, unsigned, unsigned, unsigned);
        };
 
 private: