diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/waffle/waffle_gl_misc.h | 2 | ||||
-rw-r--r-- | include/waffle/waffle_window.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/include/waffle/waffle_gl_misc.h b/include/waffle/waffle_gl_misc.h index 18cffd5..dd7ef3a 100644 --- a/include/waffle/waffle_gl_misc.h +++ b/include/waffle/waffle_gl_misc.h @@ -57,12 +57,14 @@ waffle_is_extension_in_string( const char *restrict extension_string, const char *restrict extension_name); +/// @brief Analogous to eglMakeCurrent. WAFFLE_API bool waffle_make_current( struct waffle_display *dpy, struct waffle_window *window, struct waffle_context *ctx); +/// @brief Analogous to eglGetProcAddress. WAFFLE_API void* waffle_get_proc_address(const char *name); diff --git a/include/waffle/waffle_window.h b/include/waffle/waffle_window.h index 6ee795b..ac82304 100644 --- a/include/waffle/waffle_window.h +++ b/include/waffle/waffle_window.h @@ -68,6 +68,7 @@ waffle_window_destroy(struct waffle_window *self); WAFFLE_API bool waffle_window_show(struct waffle_window *self); +/// @brief Analogous to eglSwapBuffers. WAFFLE_API bool waffle_window_swap_buffers(struct waffle_window *self); |