diff options
Diffstat (limited to 'libvo/gl_common.h')
-rw-r--r-- | libvo/gl_common.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libvo/gl_common.h b/libvo/gl_common.h index 5cf4d2859e..534bc908c1 100644 --- a/libvo/gl_common.h +++ b/libvo/gl_common.h @@ -41,6 +41,9 @@ // This old-vo wrapper macro would conflict with the struct member #undef update_xinerama_info #endif +#ifdef CONFIG_GL_SDL +#include <GL/gl.h> +#endif // workaround for some gl.h headers #ifndef GLAPIENTRY @@ -372,8 +375,10 @@ void glDisableYUVConversion(GLenum target, int type); /** \} */ enum MPGLType { + GLTYPE_AUTO, GLTYPE_W32, GLTYPE_X11, + GLTYPE_SDL, }; typedef struct MPGLContext { |