#ifndef RGLGEN_H__ #define RGLGEN_H__ #ifdef HAVE_CONFIG_H #include "config.h" #endif #ifdef HAVE_EGL #include #include #endif #if defined(IOS) #include #include #elif defined(__APPLE__) #include #include #elif defined(HAVE_PSGL) #include #include #include #elif defined(HAVE_OPENGL_MODERN) #include #include #elif defined(HAVE_OPENGLES3) #include #include // There are no GLES3 extensions yet. #elif defined(HAVE_OPENGLES2) #include #include #elif defined(HAVE_OPENGLES1) #include #include #else #include #include #endif #ifdef __cplusplus extern "C" { #endif struct rglgen_sym_map; typedef void (*rglgen_func_t)(void); typedef rglgen_func_t (*rglgen_proc_address_t)(const char*); void rglgen_resolve_symbols(rglgen_proc_address_t proc); void rglgen_resolve_symbols_custom(rglgen_proc_address_t proc, const struct rglgen_sym_map *map); #ifdef __cplusplus } #endif #endif