]> git.tdb.fi Git - libs/gltk.git/commitdiff
Update deprecated things
authorMikko Rasa <tdb@tdb.fi>
Thu, 5 Sep 2019 16:56:06 +0000 (19:56 +0300)
committerMikko Rasa <tdb@tdb.fi>
Thu, 5 Sep 2019 16:56:06 +0000 (19:56 +0300)
source/resources.cpp
source/root.cpp

index 8cdd0ad8f0b12066adf3b3dfeed9c2029ec304ee..e14934de03e89e94fe077452513a5ac542dcb07f 100644 (file)
@@ -49,7 +49,7 @@ GL::Texture2D *Resources::create_texture(const string &name)
 {
        string ext = FS::extpart(name);
        if(ext==".png" || ext==".jpg")
-               if(IO::Seekable *io = open_from_sources(name))
+               if(IO::Seekable *io = open_raw(name))
                {
                        Graphics::Image image;
                        image.load_io(*io);
index b31b53f2d7e2f767cd48fb253eef5e436afdb863..4a2d611d84c8c9692840fc9564325ff50389f8d1 100644 (file)
@@ -4,7 +4,6 @@
 #include <msp/gl/tests.h>
 #include <msp/gl/uniform.h>
 #include <msp/input/keys.h>
-#include <msp/time/units.h>
 #include <msp/time/utils.h>
 #include "label.h"
 #include "style.h"