diff --git a/video/out/hwdec/hwdec_vaapi_gl.c b/video/out/hwdec/hwdec_vaapi_gl.c index 261099a248..f256028d5a 100644 --- a/video/out/hwdec/hwdec_vaapi_gl.c +++ b/video/out/hwdec/hwdec_vaapi_gl.c @@ -19,18 +19,12 @@ #include "hwdec_vaapi.h" #include -#include #include "video/out/opengl/ra_gl.h" -#ifndef GL_OES_EGL_image typedef void* GLeglImageOES; -#endif -#ifndef EGL_KHR_image typedef void *EGLImageKHR; -#endif // Any EGL_EXT_image_dma_buf_import definitions used in this source file. -#ifndef EGL_LINUX_DMA_BUF_EXT #define EGL_LINUX_DMA_BUF_EXT 0x3270 #define EGL_LINUX_DRM_FOURCC_EXT 0x3271 #define EGL_DMA_BUF_PLANE0_FD_EXT 0x3272 @@ -42,14 +36,11 @@ typedef void *EGLImageKHR; #define EGL_DMA_BUF_PLANE2_FD_EXT 0x3278 #define EGL_DMA_BUF_PLANE2_OFFSET_EXT 0x3279 #define EGL_DMA_BUF_PLANE2_PITCH_EXT 0x327A -#endif // Any EGL_EXT_image_dma_buf_import definitions used in this source file. -#ifndef EGL_DMA_BUF_PLANE3_FD_EXT #define EGL_DMA_BUF_PLANE3_FD_EXT 0x3440 #define EGL_DMA_BUF_PLANE3_OFFSET_EXT 0x3441 #define EGL_DMA_BUF_PLANE3_PITCH_EXT 0x3442 -#endif struct vaapi_gl_mapper_priv { GLuint gl_textures[4];