[MPlayer-dev-eng] [PATCH] configure support for SDL-based -vo gl

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Apr 25 09:23:18 CEST 2010


On Sun, Apr 25, 2010 at 08:55:29AM +0200, Reimar Döffinger wrote:
> On Sun, Apr 25, 2010 at 02:50:53AM -0400, Alexander Strange wrote:
> > On Apr 25, 2010, at 2:30 AM, Reimar Döffinger wrote:
> > > the largest part is moving the configure check below so it can reuse the SDL
> > > detection.
> > > Admittedly that gives it a false dependency on -vo sdl...
> > > Some other hacks: if corevideo and SDL are enabled, it does not even try to
> > > compile the X11 backend, because that is the only way it can avoid a -lGL in the
> > > link command which causes crashes when you try to use OpenGL extensions.
> > > This might be possible to avoid if SDL offers a way to query OpenGL function
> > > pointers, but I haven't found one yet....
> > 
> > I haven't used it, but SDL_GL_GetProcAddress looks appropriate.
> 
> Yes, I'm looking into it, possibly combined with SDL_GL_LoadLibrary

Works, updated configure patch to be slightly less hackish.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: glsdl.diff
Type: text/x-diff
Size: 5112 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100425/e949227c/attachment.diff>


More information about the MPlayer-dev-eng mailing list