summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-11-23 01:09:19 +0100
committerwm4 <wm4@nowhere>2016-11-23 01:09:19 +0100
commit6b3d682f4e898226bf1d0dc25042ee237bdc1a9b (patch)
tree374b21f3d76e9426338ea661970d3425acd2f7e5
parentf5e82d5ed345dbb894ff75591abc4b262b65d0dd (diff)
downloadmpv-6b3d682f4e898226bf1d0dc25042ee237bdc1a9b.tar.bz2
mpv-6b3d682f4e898226bf1d0dc25042ee237bdc1a9b.tar.xz
vo_opengl: hwdec_d3d11egl: fix ANGLE fallback define
This was a typo in the extensiuon spec and was probably always broken. Could have led to broken builds when used with ancient ANGLE headers (or possibly generic EGL headers).
-rw-r--r--video/out/opengl/hwdec_d3d11egl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/opengl/hwdec_d3d11egl.c b/video/out/opengl/hwdec_d3d11egl.c
index 690609b5b9..0ca954b046 100644
--- a/video/out/opengl/hwdec_d3d11egl.c
+++ b/video/out/opengl/hwdec_d3d11egl.c
@@ -32,7 +32,7 @@
#include "video/decode/d3d.h"
#ifndef EGL_D3D_TEXTURE_SUBRESOURCE_ID_ANGLE
-#define EGL_D3D_TEXTURE_SUBRESOURCE_ID_ANGLE 0x3AAB
+#define EGL_D3D_TEXTURE_SUBRESOURCE_ID_ANGLE 0x33AB
#endif
struct priv {