From 65280e47cd831e221b01d3ba31cd9b5f1d52357c Mon Sep 17 00:00:00 2001 From: Floens Date: Mon, 20 Jun 2016 16:54:23 +0200 Subject: vo_opengl: manually add the GL_BACK_LEFT constant for GLES GLES doesn't have this constant. It's not used on GLES. I'm starting to think we need some better way to do this. --- video/out/opengl/header_fixes.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/video/out/opengl/header_fixes.h b/video/out/opengl/header_fixes.h index 048165f7fd..9953f7e497 100644 --- a/video/out/opengl/header_fixes.h +++ b/video/out/opengl/header_fixes.h @@ -62,6 +62,10 @@ #define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B #endif +#ifndef GL_BACK_LEFT +#define GL_BACK_LEFT 0x0402 +#endif + #if HAVE_ANDROID_GL #define GL_UNSIGNED_BYTE_3_3_2 0x8032 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 -- cgit v1.2.3