diff options
author | wm4 <wm4@nowhere> | 2015-09-08 22:46:36 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-09-08 22:46:47 +0200 |
commit | ab6f6aa61e491f214bc486ad512bfdadc5932fcf (patch) | |
tree | 619479efc5ad20202689ef8050bb7d9289cd37d3 /video/out/gl_video.h | |
parent | af0b903afa0f9b7498ae62b0a3550d6dfab7a7ee (diff) | |
download | mpv-ab6f6aa61e491f214bc486ad512bfdadc5932fcf.tar.bz2 mpv-ab6f6aa61e491f214bc486ad512bfdadc5932fcf.tar.xz |
vo_opengl: move gl_video_opts copying code to separate function
Sigh...
Hopefully this code will be completely unnecessary one day, as it's
only needed due to the sub-option parser craziness.
Move dumb_mode to the top of the struct, so the C universal initializer
doesn't cause warnings with all those broken compilers.
Diffstat (limited to 'video/out/gl_video.h')
-rw-r--r-- | video/out/gl_video.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_video.h b/video/out/gl_video.h index e8f8ffa030..443cb76787 100644 --- a/video/out/gl_video.h +++ b/video/out/gl_video.h @@ -43,6 +43,7 @@ struct scaler_config { }; struct gl_video_opts { + int dumb_mode; struct scaler_config scaler[4]; float gamma; int gamma_auto; @@ -71,7 +72,6 @@ struct gl_video_opts { char *scale_shader; char **pre_shaders; char **post_shaders; - int dumb_mode; }; extern const struct m_sub_options gl_video_conf; |