mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
36 lines
851 B
C
36 lines
851 B
C
#ifndef RGLGEN_DECL_H__
|
|
#define RGLGEN_DECL_H__
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
#ifdef GL_APIENTRY
|
|
typedef void (GL_APIENTRY *RGLGENGLDEBUGPROC)(GLenum, GLenum, GLuint, GLenum, GLsizei, const GLchar*, GLvoid*);
|
|
#else
|
|
#ifndef APIENTRY
|
|
#define APIENTRY
|
|
#endif
|
|
#ifndef APIENTRYP
|
|
#define APIENTRYP APIENTRY *
|
|
#endif
|
|
typedef void (APIENTRY *RGLGENGLDEBUGPROCARB)(GLenum, GLenum, GLuint, GLenum, GLsizei, const GLchar*, GLvoid*);
|
|
typedef void (APIENTRY *RGLGENGLDEBUGPROC)(GLenum, GLenum, GLuint, GLenum, GLsizei, const GLchar*, GLvoid*);
|
|
#endif
|
|
#ifndef GL_OES_EGL_image
|
|
typedef void *GLeglImageOES;
|
|
#endif
|
|
#if !defined(GL_OES_fixed_point) && !defined(HAVE_OPENGLES2)
|
|
typedef GLint GLfixed;
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
struct rglgen_sym_map { const char *sym; void *ptr; };
|
|
extern const struct rglgen_sym_map rglgen_symbol_map[];
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
#endif
|