From fc8ec8851fe3306621c4e962ff8a3a54ef893de9 Mon Sep 17 00:00:00 2001 From: Richard Grenville Date: Thu, 26 Sep 2013 07:41:11 +0800 Subject: [PATCH] Misc: Typo in vsync_opengl_init() I typed ps->glXGetVideoSyncSGI as ps->glXWaitVideoSyncSGI... --- src/compton.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compton.c b/src/compton.c index 76a1c75..dd9341c 100644 --- a/src/compton.c +++ b/src/compton.c @@ -5868,7 +5868,7 @@ vsync_opengl_init(session_t *ps) { return false; // Get video sync functions - if (!ps->glXWaitVideoSyncSGI) + if (!ps->glXGetVideoSyncSGI) ps->glXGetVideoSyncSGI = (f_GetVideoSync) glXGetProcAddress((const GLubyte *) "glXGetVideoSyncSGI"); if (!ps->glXWaitVideoSyncSGI)