diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-09-27 01:49:50 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-09-27 01:49:50 +0200 |
commit | ca8171d80ceccf1538f2fef9ab2c96dc7192f9d1 (patch) | |
tree | be95a44b5912f68c1271c4fb3d0b559696fdf0e6 /include | |
parent | 9866713ba916f9768edca02c61ed5ec580bd9557 (diff) |
Image continuous: load as image in seperate thread instead of string, fix a bit of stuttering
Diffstat (limited to 'include')
-rw-r--r-- | include/ImageViewer.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<std::string> image_data_str; + std::unique_ptr<sf::Image> image; bool visible_on_screen; }; |