From: Mikko Rasa Date: Thu, 5 Sep 2019 16:56:06 +0000 (+0300) Subject: Update deprecated things X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;h=cc966845eb995805e22d63600d8670328c4feae3;p=libs%2Fgltk.git Update deprecated things --- diff --git a/source/resources.cpp b/source/resources.cpp index 8cdd0ad..e14934d 100644 --- a/source/resources.cpp +++ b/source/resources.cpp @@ -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); diff --git a/source/root.cpp b/source/root.cpp index b31b53f..4a2d611 100644 --- a/source/root.cpp +++ b/source/root.cpp @@ -4,7 +4,6 @@ #include #include #include -#include #include #include "label.h" #include "style.h"