diff --git a/gl-api.c b/gl-api.c index c50fc69..d2b0be2 100755 --- a/gl-api.c +++ b/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 diff --git a/include/gl.h b/include/gl.h index 17dd552..b97b4d8 100755 --- a/include/gl.h +++ b/include/gl.h @@ -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. */