diff options
author | Chad Versace <chad.versace@linux.intel.com> | 2012-04-09 13:19:15 -0700 |
---|---|---|
committer | Chad Versace <chad.versace@linux.intel.com> | 2012-04-09 13:19:15 -0700 |
commit | ef63eaa3b0a8ecdf5670cf74f6a4d539bffb0e84 (patch) | |
tree | 167aa3fdc7f475d0a0480704cbee2a2ab5643678 | |
parent | 34f326c4e449dc789b617bdb64acbc892d1f2524 (diff) |
readme: Fix example code
Call waffle_make_current(dpy, NULL, NULL) before teardown.
Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
-rw-r--r-- | README.txt | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -95,6 +95,7 @@ example, see `/examples/gl_basic.c` [3]. waffle_window_swap_buffers(window); // Teardown waffle. + waffle_make_current(dpy, NULL, NULL); waffle_window_destroy(window); waffle_context_destroy(ctx); waffle_config_destroy(config); |