From ca8171d80ceccf1538f2fef9ab2c96dc7192f9d1 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 27 Sep 2020 01:49:50 +0200 Subject: Image continuous: load as image in seperate thread instead of string, fix a bit of stuttering --- include/ImageViewer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/ImageViewer.hpp') diff --git a/include/ImageViewer.hpp b/include/ImageViewer.hpp index 0ca64e9..fe0b6f3 100644 --- a/include/ImageViewer.hpp +++ b/include/ImageViewer.hpp @@ -26,7 +26,7 @@ namespace QuickMedia { sf::Texture texture; sf::Sprite sprite; ImageStatus image_status; - std::unique_ptr image_data_str; + std::unique_ptr image; bool visible_on_screen; }; -- cgit v1.2.3