diff options
author | wm4 <wm4@nowhere> | 2013-12-01 23:39:13 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-01 23:39:13 +0100 |
commit | dc582f2505d7583f414dcfa777371f986de381d3 (patch) | |
tree | 20fdff93deb3b96a10f0022db8c04244677a56a6 /video/out/gl_video.h | |
parent | f30c2c99d16527c045caee90c9f7b2a7a7c85c00 (diff) | |
download | mpv-dc582f2505d7583f414dcfa777371f986de381d3.tar.bz2 mpv-dc582f2505d7583f414dcfa777371f986de381d3.tar.xz |
vo_opengl: add support for rectangle textures
This allows vo_opengl to use GL_TEXTURE_RECTANGLE textures, either by
enabling it with the 'rectangle-textures' sub-option, or by having a
hwdec backend force it. By default it's off.
The _only_ reason we're adding this is because VDA can export rectangle
textures only.
Diffstat (limited to 'video/out/gl_video.h')
-rw-r--r-- | video/out/gl_video.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/gl_video.h b/video/out/gl_video.h index 27da29461c..a4f864a9dd 100644 --- a/video/out/gl_video.h +++ b/video/out/gl_video.h @@ -46,6 +46,7 @@ struct gl_video_opts { int stereo_mode; int alpha_mode; int chroma_location; + int use_rectangle; }; extern const struct m_sub_options gl_video_conf; |