summaryrefslogtreecommitdiffstats
path: root/compton.c
diff options
context:
space:
mode:
Diffstat (limited to 'compton.c')
-rw-r--r--compton.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compton.c b/compton.c
index 76a1c75cf..dd9341cbc 100644
--- a/compton.c
+++ b/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)