table of contents
- buster 1.5.2-4
- testing 1.6.3-2
- unstable 1.6.3-3
- experimental 1.7.0-1
WAFFLE_MAKE_CURRENT(3) | Waffle Manual | WAFFLE_MAKE_CURRENT(3) |
NAME¶
waffle_make_current - Bind a context for renderingSYNOPSIS¶
#include <waffle.h>
bool waffle_make_current(struct waffle_display *display, struct waffle_window *window, struct waffle_context *context);
DESCRIPTION¶
waffle_make_current()This function is analogous to glXMakeCurrent(3), eglMakeCurrent(3), and [NSOpenGLContext makeCurrentContext].
RETURN VALUE¶
Functions whose return type is bool return true on success and false on failure. Functions whose return type is a pointer return NULL on failure. Use waffle_error_get_info(3) to get information about any errors.ERRORS¶
See waffle_error(3) for the complete list of waffle's error codes.No errors are specific to any functions listed in this manual page.
ISSUES¶
Please report bugs or and feature requests to https://github.com/waffle-gl/waffle/issues.SEE ALSO¶
waffle(7)AUTHOR¶
Chad Versace <chad.versace@linux.intel.com>COPYRIGHT¶
Copyright © 2013 IntelThis manual page is licensed under the Creative Commons Attribution-ShareAlike 3.0 United States License (CC BY-SA 3.0). To view a copy of this license, visit http://creativecommons.org.license/by-sa/3.0/us.
10/19/2017 | waffle |