[MPlayer-cvslog] r30450 - trunk/libvo/gl_common.c

reimar subversion at mplayerhq.hu
Thu Jan 28 19:01:19 CET 2010


Author: reimar
Date: Thu Jan 28 19:01:19 2010
New Revision: 30450

Log:
glXSwapIntervalEXT is defined to take different arguments from glXSwapIntervalSGI,
so do not try to use it.
Patch by Stephen Warren [swarren nvidia com]

Modified:
   trunk/libvo/gl_common.c

Modified: trunk/libvo/gl_common.c
==============================================================================
--- trunk/libvo/gl_common.c	Thu Jan 28 14:02:46 2010	(r30449)
+++ trunk/libvo/gl_common.c	Thu Jan 28 19:01:19 2010	(r30450)
@@ -441,7 +441,7 @@ static const extfunc_desc_t extfuncs[] =
   {&ProgramString, "_program", {"glProgramStringARB", NULL}},
   {&GetProgramiv, "_program", {"glGetProgramivARB", NULL}},
   {&ProgramEnvParameter4f, "_program", {"glProgramEnvParameter4fARB", NULL}},
-  {&SwapInterval, "_swap_control", {"glXSwapInterval", "glXSwapIntervalEXT", "glXSwapIntervalSGI", "wglSwapInterval", "wglSwapIntervalEXT", "wglSwapIntervalSGI", NULL}},
+  {&SwapInterval, "_swap_control", {"glXSwapInterval", "glXSwapIntervalSGI", "wglSwapInterval", "wglSwapIntervalEXT", "wglSwapIntervalSGI", NULL}},
   {&TexImage3D, NULL, {"glTexImage3D", NULL}},
   {&AllocateMemoryMESA, "GLX_MESA_allocate_memory", {"glXAllocateMemoryMESA", NULL}},
   {&FreeMemoryMESA, "GLX_MESA_allocate_memory", {"glXFreeMemoryMESA", NULL}},


More information about the MPlayer-cvslog mailing list