summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/gl_basic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/gl_basic.c b/examples/gl_basic.c
index 81a2fa6..b37499f 100644
--- a/examples/gl_basic.c
+++ b/examples/gl_basic.c
@@ -307,7 +307,7 @@ main(int argc, char **argv)
if (!window)
error_waffle();
- ok = waffle_make_current(window, ctx);
+ ok = waffle_make_current(dpy, window, ctx);
if (!ok)
error_waffle();