diff options
author | wm4 <wm4@nowhere> | 2014-12-23 14:27:47 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-12-23 14:27:47 +0100 |
commit | a71601231e43b588981081390225565b6a289177 (patch) | |
tree | 5261a6220914963265dd0a1511ca1d6112a6ce4f /video/out/gl_hwdec_vdpau.c | |
parent | 759656d0babe4ee49a5929b8f2d3a735d51d29f9 (diff) | |
download | mpv-a71601231e43b588981081390225565b6a289177.tar.bz2 mpv-a71601231e43b588981081390225565b6a289177.tar.xz |
vo_opengl_cb: always setup/break vertex array bindings
Originally, this code was written to have full control over the OpenGL
state, rather than having to cooperate with unknown components by being
embeded like vo_opengl_cb is meant to be. As a consequence, it was
thought to be ok to setup a global binding (if the context is below
OpenGL 3.0, which guarantees VAOs).
This could break badly. Fix it by setting up and breaking the bindings
on entry/exit.
Diffstat (limited to 'video/out/gl_hwdec_vdpau.c')
0 files changed, 0 insertions, 0 deletions