changeset 30408:9e0db8b6957b

glXSwapIntervalEXT is defined to take different arguments from glXSwapIntervalSGI, so do not try to use it. Patch by Stephen Warren [swarren nvidia com]
author reimar
date Thu, 28 Jan 2010 18:01:19 +0000
parents f645f4ef40dc
children 6eb012e46b63
files libvo/gl_common.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libvo/gl_common.c	Thu Jan 28 13:02:46 2010 +0000
+++ b/libvo/gl_common.c	Thu Jan 28 18:01:19 2010 +0000
@@ -441,7 +441,7 @@
   {&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}},