From e1d5d4401f74051e747a6afb6be5d9becc4bda2a Mon Sep 17 00:00:00 2001 From: dec05eba Date: Mon, 23 Apr 2018 19:16:05 +0200 Subject: Revert to opengl_cb for mpv until render_gl becomes common --- include/Video.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 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; -- cgit v1.2.3