diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-10-17 13:42:31 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-10-17 14:56:41 +0200 |
commit | 4a7b86829025664f6eeef6fcb5fc0894733f2ad6 (patch) | |
tree | efd29796ec64b31609640dfea633e3ada982ee1d /include/QuickMedia.hpp | |
parent | 9bf163d51a252fb5a611e88c2e0b4123a98169e1 (diff) |
Matrix: make displayname more bright, add circle mask shader for avatar and room thumbnails
Diffstat (limited to 'include/QuickMedia.hpp')
-rw-r--r-- | include/QuickMedia.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/QuickMedia.hpp b/include/QuickMedia.hpp index 0a0b509..b7e6814 100644 --- a/include/QuickMedia.hpp +++ b/include/QuickMedia.hpp @@ -9,6 +9,7 @@ #include <memory> #include <SFML/Graphics/Font.hpp> #include <SFML/Graphics/RenderWindow.hpp> +#include <SFML/Graphics/Shader.hpp> #include <json/value.h> #include <unordered_set> #include <future> @@ -116,6 +117,7 @@ namespace QuickMedia { bool image_download_cancel = false; int exit_code = 0; std::string resources_root; + sf::Shader circle_mask_shader; bool use_tor = false; bool no_video = false; bool use_system_mpv_config = false; |