Make a few more public functions actually public.

macos/v1.5.9
Eric Anholt 11 years ago
parent 66d7b9fb02
commit ed938dc4c5
  1. 1
      include/epoxy/gl_common.h
  2. 6
      src/dispatch_common.c
  3. 1
      src/dispatch_common.h

@ -32,6 +32,7 @@
#include <stdbool.h> #include <stdbool.h>
bool epoxy_has_gl_extension(const char *extension); bool epoxy_has_gl_extension(const char *extension);
bool epoxy_is_desktop_gl(void);
int epoxy_gl_version(void); int epoxy_gl_version(void);
#endif /* EPOXY_GL_COMMON_H */ #endif /* EPOXY_GL_COMMON_H */

@ -102,7 +102,7 @@ struct api local_api;
struct api *api = &local_api; struct api *api = &local_api;
bool PUBLIC bool
epoxy_is_desktop_gl(void) epoxy_is_desktop_gl(void)
{ {
const char *es_prefix = "OpenGL ES "; const char *es_prefix = "OpenGL ES ";
@ -132,13 +132,13 @@ epoxy_gl_version(void)
return 10 * major + minor; return 10 * major + minor;
} }
bool PUBLIC bool
epoxy_is_glx(void) epoxy_is_glx(void)
{ {
return true; /* XXX */ return true; /* XXX */
} }
int PUBLIC int
epoxy_glx_version(void) epoxy_glx_version(void)
{ {
return 14; /* XXX */ return 14; /* XXX */

@ -46,7 +46,6 @@ struct api {
void *winsys_handle; void *winsys_handle;
}; };
bool epoxy_is_desktop_gl(void);
bool epoxy_is_glx(void); bool epoxy_is_glx(void);
void *epoxy_get_proc_address(const char *name); void *epoxy_get_proc_address(const char *name);

Loading…
Cancel
Save