summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/video.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-08-05 15:17:18 +0200
committerwm4 <wm4@nowhere>2017-08-05 16:27:09 +0200
commitdddda6e4a5353f1e5518bca175b523f1231fa700 (patch)
tree7b3181c5b8a3497b96ae0bc4d5f5184ee810c0ae /video/out/opengl/video.h
parent333cae74ef0fa62e0355e85d21f0f41ced3963e7 (diff)
downloadmpv-dddda6e4a5353f1e5518bca175b523f1231fa700.tar.bz2
mpv-dddda6e4a5353f1e5518bca175b523f1231fa700.tar.xz
vo_opengl: move GL state resetting to vo_opengl_cb
This code is pretty much for the sake of vo_opengl_cb API users. It resets certain state that either the user or our code doesn't reset correctly. This is somewhat outdated. With GL implicit state being so awfully large, it seems more reasonable require that any code restores the default state when returning to the caller. Some exceptions are defined in opengl_cb.h.
Diffstat (limited to 'video/out/opengl/video.h')
-rw-r--r--video/out/opengl/video.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/video/out/opengl/video.h b/video/out/opengl/video.h
index ea9f7b0746..8b6ca6e98f 100644
--- a/video/out/opengl/video.h
+++ b/video/out/opengl/video.h
@@ -176,8 +176,6 @@ bool gl_video_icc_auto_enabled(struct gl_video *p);
bool gl_video_gamma_auto_enabled(struct gl_video *p);
struct mp_colorspace gl_video_get_output_colorspace(struct gl_video *p);
-void gl_video_set_gl_state(struct gl_video *p);
-void gl_video_unset_gl_state(struct gl_video *p);
void gl_video_reset(struct gl_video *p);
bool gl_video_showing_interpolated_frame(struct gl_video *p);