summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/hwdec.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-05-19 12:02:08 +0200
committerwm4 <wm4@nowhere>2016-05-19 12:02:08 +0200
commit4e5f1ec00ec917d0e72941683efcdc7cc757d339 (patch)
tree88a40f71616b6dfd7fef477ec0ca4e4771405887 /video/out/opengl/hwdec.h
parentb0d3c2ede7591ed5a0f4183b815573179a00c1fd (diff)
downloadmpv-4e5f1ec00ec917d0e72941683efcdc7cc757d339.tar.bz2
mpv-4e5f1ec00ec917d0e72941683efcdc7cc757d339.tar.xz
vo_opengl: d3d11egl: enable "required" GLSL extensions
ANGLE doesn't handle this very strictly. But if they change this in the future, it shouldn't brick us. Not quite happy with this glsl_extensions fields, but it is quite unintrusive after all.
Diffstat (limited to 'video/out/opengl/hwdec.h')
-rw-r--r--video/out/opengl/hwdec.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/opengl/hwdec.h b/video/out/opengl/hwdec.h
index ae48d485cb..4a074ec4a5 100644
--- a/video/out/opengl/hwdec.h
+++ b/video/out/opengl/hwdec.h
@@ -10,6 +10,8 @@ struct gl_hwdec {
struct mpv_global *global;
GL *gl;
struct mp_hwdec_devices *devs;
+ // GLSL extensions required to sample textures from this.
+ const char **glsl_extensions;
// For free use by hwdec driver
void *priv;
// For working around the vdpau vs. vaapi mess.