From ed938dc4c592f0e3420a2b0ab6e3b5f9cec0c1f7 Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Mon, 11 Nov 2013 10:10:34 -0800 Subject: [PATCH] Make a few more public functions actually public. --- include/epoxy/gl_common.h | 1 + src/dispatch_common.c | 6 +++--- src/dispatch_common.h | 1 - 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/epoxy/gl_common.h b/include/epoxy/gl_common.h index 991fe98..5246900 100644 --- a/include/epoxy/gl_common.h +++ b/include/epoxy/gl_common.h @@ -32,6 +32,7 @@ #include bool epoxy_has_gl_extension(const char *extension); +bool epoxy_is_desktop_gl(void); int epoxy_gl_version(void); #endif /* EPOXY_GL_COMMON_H */ diff --git a/src/dispatch_common.c b/src/dispatch_common.c index 8268a93..cacd6b2 100644 --- a/src/dispatch_common.c +++ b/src/dispatch_common.c @@ -102,7 +102,7 @@ struct api local_api; struct api *api = &local_api; -bool +PUBLIC bool epoxy_is_desktop_gl(void) { const char *es_prefix = "OpenGL ES "; @@ -132,13 +132,13 @@ epoxy_gl_version(void) return 10 * major + minor; } -bool +PUBLIC bool epoxy_is_glx(void) { return true; /* XXX */ } -int +PUBLIC int epoxy_glx_version(void) { return 14; /* XXX */ diff --git a/src/dispatch_common.h b/src/dispatch_common.h index 0113e8f..2100342 100644 --- a/src/dispatch_common.h +++ b/src/dispatch_common.h @@ -46,7 +46,6 @@ struct api { void *winsys_handle; }; -bool epoxy_is_desktop_gl(void); bool epoxy_is_glx(void); void *epoxy_get_proc_address(const char *name);