This should hopefully fix the C++ compilation issues with libgl.
This commit is contained in:
parent
9dde472293
commit
4390d627bf
8
gl-api.c
8
gl-api.c
|
@ -72,6 +72,14 @@ static GLubyte GL_ENABLE_SUPERSAMP = 0;
|
|||
static GLubyte GL_FACE_FRONT = 0;
|
||||
static GLubyte GL_CLAMP_ST = 0;
|
||||
|
||||
/* Primitive 2D Position Submission */
|
||||
void (*glVertex2f)(float, float);
|
||||
void (*glVertex2fv)(float *);
|
||||
|
||||
/* Primitive 3D Position Submission */
|
||||
void (*glVertex3f)(float, float, float);
|
||||
void (*glVertex3fv)(float *);
|
||||
|
||||
#define GL_CLAMP_U 0x0F
|
||||
#define GL_CLAMP_V 0xF0
|
||||
#define GL_CLAMP_UV 0xFF
|
||||
|
|
|
@ -317,7 +317,7 @@ __BEGIN_DECLS
|
|||
#define GL_FALSE 0
|
||||
#define GL_TRUE 1
|
||||
|
||||
#define GLAPI
|
||||
#define GLAPI extern
|
||||
#define APIENTRY
|
||||
|
||||
/* Initialize the GL pipeline. GL will initialize the PVR. */
|
||||
|
|
Loading…
Reference in New Issue
Block a user