aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-04-23 19:16:05 +0200
committerdec05eba <dec05eba@protonmail.com>2018-04-23 19:16:10 +0200
commite1d5d4401f74051e747a6afb6be5d9becc4bda2a (patch)
tree9277a1c325343d862c1efa8f33abe098480c867f /include
parent7e7dfd227eacaa80b21ca8ed99e8a99ccbd47769 (diff)
Revert to opengl_cb for mpv until render_gl becomes common
Diffstat (limited to 'include')
-rw-r--r--include/Video.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/Video.hpp b/include/Video.hpp
index f148c07..05c8396 100644
--- a/include/Video.hpp
+++ b/include/Video.hpp
@@ -10,7 +10,7 @@
#include <stdexcept>
class mpv_handle;
-class mpv_render_context;
+class mpv_opengl_cb_context;
namespace dchat
{
@@ -35,7 +35,7 @@ namespace dchat
private:
sf::Context context;
mpv_handle *mpv;
- mpv_render_context *mpvGl;
+ mpv_opengl_cb_context *mpvGl;
std::thread renderThread;
std::mutex renderMutex;
sf::Sprite sprite;