[MPlayer-dev-eng] [PATCH] Don't call glxSwapIntervalEXT using glxSwapInterval's prototype

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Jan 28 19:12:44 CET 2010


On Thu, Jan 28, 2010 at 09:12:24AM -0800, Stephen Warren wrote:
> The attached patch fixes a crash in MPlayer when using "-vo gl" with recent
> NVIDIA drivers.

Thanks, I also changed the ordering, just in case (does a glXSwapInterval
function exist?).

> The function prototypes for glxSwapIntervalSGI and glxSwapIntervalEXT are:
> 
> int glXSwapIntervalSGI(int interval);
> 
> void glXSwapIntervalEXT(Display *dpy, GLXDrawable drawable, int interval);

Well, I take some consolation in the fact that Google tells me I am not
the only one who has this bug...
No surprise, given that there's a BOOL wglSwapIntervalEXT(int interval) -
the choice of names is quite unfortunate IMO.



More information about the MPlayer-dev-eng mailing list