From cc966845eb995805e22d63600d8670328c4feae3 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Thu, 5 Sep 2019 19:56:06 +0300 Subject: [PATCH] Update deprecated things --- source/resources.cpp | 2 +- source/root.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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" -- 2.43.0