mirror of
https://github.com/mpv-player/mpv
synced 2025-03-23 20:00:56 +00:00
glXSwapIntervalEXT is defined to take different arguments from glXSwapIntervalSGI,
so do not try to use it. Patch by Stephen Warren [swarren nvidia com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30450 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
1f78fb8889
commit
6eb02e5c5e
@ -441,7 +441,7 @@ static const extfunc_desc_t extfuncs[] = {
|
|||||||
{&ProgramString, "_program", {"glProgramStringARB", NULL}},
|
{&ProgramString, "_program", {"glProgramStringARB", NULL}},
|
||||||
{&GetProgramiv, "_program", {"glGetProgramivARB", NULL}},
|
{&GetProgramiv, "_program", {"glGetProgramivARB", NULL}},
|
||||||
{&ProgramEnvParameter4f, "_program", {"glProgramEnvParameter4fARB", 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}},
|
{&TexImage3D, NULL, {"glTexImage3D", NULL}},
|
||||||
{&AllocateMemoryMESA, "GLX_MESA_allocate_memory", {"glXAllocateMemoryMESA", NULL}},
|
{&AllocateMemoryMESA, "GLX_MESA_allocate_memory", {"glXAllocateMemoryMESA", NULL}},
|
||||||
{&FreeMemoryMESA, "GLX_MESA_allocate_memory", {"glXFreeMemoryMESA", NULL}},
|
{&FreeMemoryMESA, "GLX_MESA_allocate_memory", {"glXFreeMemoryMESA", NULL}},
|
||||||
|
Loading…
Reference in New Issue
Block a user