summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorChad Versace <chad.versace@linux.intel.com>2012-05-18 12:36:08 -0700
committerChad Versace <chad.versace@linux.intel.com>2012-05-23 12:14:40 -0700
commit9e76f0884f05685adf42e6a76f93157c19c0583f (patch)
tree98c8169e141617945b105dc41a484695e0f85d48 /examples
parent05a2729ccb148ca954e5ca28fd3d82f5b54b8c30 (diff)
examples/gl_basic: Update with waffle_window_show()
One must now call waffle_window_show() in order to display the window. Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/gl_basic.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/gl_basic.c b/examples/gl_basic.c
index 8c480af..0a7a66e 100644
--- a/examples/gl_basic.c
+++ b/examples/gl_basic.c
@@ -315,6 +315,10 @@ main(int argc, char **argv)
if (!window)
error_waffle();
+ ok = waffle_window_show(window);
+ if (!ok)
+ error_waffle();
+
ok = waffle_make_current(dpy, window, ctx);
if (!ok)
error_waffle();