summaryrefslogtreecommitdiffstats
path: root/video/out/gl_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_common.h')
-rw-r--r--video/out/gl_common.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/video/out/gl_common.h b/video/out/gl_common.h
index 8b5ac63d9a..c19ec7f73d 100644
--- a/video/out/gl_common.h
+++ b/video/out/gl_common.h
@@ -177,6 +177,9 @@ struct gl_hwdec {
// internal representation in gl_video.c as the hardware texture.
// It's used to build the rendering chain, and also as screenshot format.
int converted_imgfmt;
+ // Normally this is GL_TEXTURE_2D, but the hwdec driver can set it to
+ // GL_TEXTURE_RECTANGLE.
+ GLenum gl_texture_target;
};
struct gl_hwdec_driver {