aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2022-03-13 05:43:44 +0100
committerdec05eba <dec05eba@protonmail.com>2022-03-13 05:43:44 +0100
commit05a5413108e33ebbca699303baf1fe13a91eff2a (patch)
tree9ab4f4986ac07ebbde238617ac4a31d72b03b4b2 /src
parentc3819073118488ffef5482957758d65be8c33cec (diff)
youtube: fix long videos not working (int64_t in video seek), ctrl+r not working because searchbar and tab images loaded in non-main thread
Diffstat (limited to 'src')
-rw-r--r--src/QuickMedia.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp
index a0bd3ea..24c2a87 100644
--- a/src/QuickMedia.cpp
+++ b/src/QuickMedia.cpp
@@ -731,6 +731,9 @@ namespace QuickMedia {
mgl::vec2i loading_icon_size = loading_icon.get_size();
load_sprite.set_origin(mgl::vec2f(loading_icon_size.x * 0.5f, loading_icon_size.y * 0.5f));
+ TextureLoader::get_texture("images/search_icon.png");
+ TextureLoader::get_texture("images/arrow.png");
+
struct sigaction action;
action.sa_handler = sigpipe_handler;
sigemptyset(&action.sa_mask);