Make "epoxy_current_context_is_egl" visible.

macos/v1.5.9
Yaron Cohen-Tal 9 years ago
parent 8d58c89064
commit a4ead97cfd
  1. 1
      include/epoxy/gl.h
  2. 4
      src/dispatch_common.c

@ -86,6 +86,7 @@ extern "C" {
EPOXY_IMPORTEXPORT bool epoxy_has_gl_extension(const char *extension);
EPOXY_IMPORTEXPORT bool epoxy_is_desktop_gl(void);
EPOXY_IMPORTEXPORT int epoxy_gl_version(void);
EPOXY_IMPORTEXPORT bool epoxy_current_context_is_egl(void);
#ifdef __cplusplus
} /* extern "C" */

@ -196,8 +196,6 @@ static struct api api = {
static bool library_initialized;
static bool epoxy_current_context_is_egl(void);
#if EPOXY_SUPPORT_EGL
static EGLenum
epoxy_egl_get_current_gl_context_api(void);
@ -405,7 +403,7 @@ epoxy_internal_has_gl_extension(const char *ext, bool invalid_op_mode)
/**
* Tests whether the currently bound context is EGL or other (GLX, WGL, etc.).
*/
static bool
EPOXY_IMPORTEXPORT bool
epoxy_current_context_is_egl(void)
{
#if EPOXY_SUPPORT_EGL

Loading…
Cancel
Save