diff options
author | dec05eba <dec05eba@protonmail.com> | 2021-04-30 04:05:26 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2021-04-30 04:05:26 +0200 |
commit | 575ccde5d1e896a279d58375704f4ace3f48bf6a (patch) | |
tree | 93618e0934bcbd7d9f83d9cb696df9945540543d /include | |
parent | 7dc7ee78094a3d76e8cb70d724a7054d59347369 (diff) |
Make initial youtube request faster (faster cookies setup)
Diffstat (limited to 'include')
-rw-r--r-- | include/AsyncImageLoader.hpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/AsyncImageLoader.hpp b/include/AsyncImageLoader.hpp index 69746d2..4acae5e 100644 --- a/include/AsyncImageLoader.hpp +++ b/include/AsyncImageLoader.hpp @@ -35,7 +35,6 @@ namespace QuickMedia { static AsyncImageLoader& get_instance(); // Returns false if the image loader is already loading an image. In that case, this function should be called again later. // set |resize_target_size| to {0, 0} to disable resizing. - // |thumbnail_data.loading_state| has to be LoadingState::NOT_LOADED when calling this! // Note: this method is not thread-safe void load_thumbnail(const std::string &url, bool local, sf::Vector2i resize_target_size, std::shared_ptr<ThumbnailData> thumbnail_data); private: |