diff options
author | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-11-29 05:34:59 +0200 |
---|---|---|
committer | Uoti Urpala <uau@glyph.nonexistent.invalid> | 2009-11-29 05:34:59 +0200 |
commit | 5017d713b1765048cf97d9ef73518ece826e9306 (patch) | |
tree | df7241605da85e9a699be04c8c69a7212dbd3c4a /libvo/gl_common.c | |
parent | dbd1ab182ecf794fa576ffbda49e666f2e3b8bae (diff) | |
download | mpv-5017d713b1765048cf97d9ef73518ece826e9306.tar.bz2 mpv-5017d713b1765048cf97d9ef73518ece826e9306.tar.xz |
vo_gl: Remove incorrect glXSwapIntervalEXT use
The list of OpenGL extension function names to try for setting the
swapinterval value contained "glXSwapIntervalEXT". Such a function
exists in the extension GL_EXT_swap_control but takes different
arguments than vo_gl expects, so trying to use it from the current
code would lead to unpredictable behavior. Remove it from the list of
functions to use.
Diffstat (limited to 'libvo/gl_common.c')
-rw-r--r-- | libvo/gl_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/gl_common.c b/libvo/gl_common.c index ca3fc7ee45..3777d2513a 100644 --- a/libvo/gl_common.c +++ b/libvo/gl_common.c @@ -317,7 +317,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}}, |