diff options
author | wm4 <wm4@nowhere> | 2016-09-14 20:23:46 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-09-14 20:24:06 +0200 |
commit | e24ba8fa7f1a0645307ab53e16d9d6d1fe2349b2 (patch) | |
tree | 9c238905eecfae57e86b9c5423598aec4aa82a49 /video/out/opengl/video.h | |
parent | ffbc85cde94da81c9ba1db64451ec11400f98497 (diff) | |
download | mpv-e24ba8fa7f1a0645307ab53e16d9d6d1fe2349b2.tar.bz2 mpv-e24ba8fa7f1a0645307ab53e16d9d6d1fe2349b2.tar.xz |
vo_opengl: require explicit reset on shader cache after rendering
The caller now has to call gl_sc_reset(), and _after_ rendering. This
way we can unset OpenGL state that was setup for rendering. This affects
the shader program, for example. The next commit uses this to
automatically manage texture units via the shader cache.
vo_rpi.c changes untested.
Diffstat (limited to 'video/out/opengl/video.h')
0 files changed, 0 insertions, 0 deletions