diff options
Diffstat (limited to 'video')
-rw-r--r-- | video/out/gl_hwdec_vda.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/video/out/gl_hwdec_vda.c b/video/out/gl_hwdec_vda.c index c86c1abb34..47bdb3ebfa 100644 --- a/video/out/gl_hwdec_vda.c +++ b/video/out/gl_hwdec_vda.c @@ -40,6 +40,11 @@ static bool check_hwdec(struct gl_hwdec *hw) return false; } + if (hw->mpgl->gl->version < 300) { + MP_ERR(hw, "need >= OpenGL 3.0 for core rectangle texture support\n"); + return false; + } + if (!vo->cocoa) { MP_ERR(hw, "need cocoa opengl backend to be active"); return false; |