This should hopefully fix the C++ compilation issues with libgl.

This commit is contained in:
Lawrence Sebald 2014-08-18 19:16:32 -04:00
parent 9dde472293
commit 4390d627bf
2 changed files with 9 additions and 1 deletions

View File

@ -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

View File

@ -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. */