summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Grenville <pyxlcy@gmail.com>2013-09-26 07:41:11 +0800
committerRichard Grenville <pyxlcy@gmail.com>2013-09-26 07:41:11 +0800
commit7f97d55da55d44a018de2fb065ec3d4f63ab0307 (patch)
tree61b307fa2b778b7da22692b1c7fdc87c8466957d
parente0e726c4246f234b216ed79f22aa77e70560d178 (diff)
downloadtdebase-7f97d55da55d44a018de2fb065ec3d4f63ab0307.tar.gz
tdebase-7f97d55da55d44a018de2fb065ec3d4f63ab0307.zip
Misc: Typo in vsync_opengl_init()
I typed ps->glXGetVideoSyncSGI as ps->glXWaitVideoSyncSGI...
-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)