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

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


Author: reimar
Date: Thu Jan 28 19:06:47 2010
New Revision: 30451

Log:
Try the more specific names first for the SwapInterval function to make it less
likely we get an incompatible one.

Modified:
   trunk/libvo/gl_common.c

Modified: trunk/libvo/gl_common.c
==============================================================================
--- trunk/libvo/gl_common.c	Thu Jan 28 19:01:19 2010	(r30450)
+++ trunk/libvo/gl_common.c	Thu Jan 28 19:06:47 2010	(r30451)
@@ -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", "glXSwapIntervalSGI", "wglSwapInterval", "wglSwapIntervalEXT", "wglSwapIntervalSGI", NULL}},
+  {&SwapInterval, "_swap_control", {"glXSwapIntervalSGI", "glXSwapInterval", "wglSwapIntervalSGI", "wglSwapInterval", "wglSwapIntervalEXT", 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