[MPlayer-dev-eng] [PATCH] Fix build error on OSX 10.9
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Wed Oct 30 13:45:26 CET 2013
Johan Andersson <j at i19.se> wrote:
>Hello
>
>With latest OSX 10.9 Mavericks mplayer fail to compile becuase of:
>libvo/vo_corevideo.m:472:11: error: use of undeclared identifier
>'GL_BLEND'
> glEnable(GL_BLEND);
> ^
>libvo/vo_corevideo.m:473:2: warning: implicit declaration of function
>'glDisable' is invalid in C99 [-Wimplicit-function-declaration]
> glDisable(GL_DEPTH_TEST);
> ^
>libvo/vo_corevideo.m:473:12: error: use of undeclared identifier
>'GL_DEPTH_TEST'
> glDisable(GL_DEPTH_TEST);
>
>Here is a patch to fix it
Thanks, but glut is not the right header to include for this.
Assuming vo_gl.c compiles, the right solution should be including one of the headers it or gl_common.c use.
More information about the MPlayer-dev-eng
mailing list