@ -32,6 +32,7 @@
#include <stdbool.h>
bool epoxy_has_gl_extension(const char *extension);
bool epoxy_is_desktop_gl(void);
int epoxy_gl_version(void);
#endif /* EPOXY_GL_COMMON_H */
@ -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;
}
epoxy_is_glx(void)
return true; /* XXX */
int
PUBLIC int
epoxy_glx_version(void)
return 14; /* XXX */
@ -46,7 +46,6 @@ struct api {
void *winsys_handle;
};
bool epoxy_is_glx(void);
void *epoxy_get_proc_address(const char *name);