summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Borca <[email protected]>2003-10-23 12:02:36 +0000
committerDaniel Borca <[email protected]>2003-10-23 12:02:36 +0000
commit3fe2af23ef323b9b25b54e171aa29c7004fe05fd (patch)
tree6d0418c10d2a0859cc79d182f3c2fcaf2335d6d0
parentc5b1e81de48de5d8830bf5d92ff767ad1985e46e (diff)
added a few missing GLAPIENTRYs to make MinGW compile again
-rw-r--r--src/mesa/main/lines.c2
-rw-r--r--src/mesa/main/program.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/lines.c b/src/mesa/main/lines.c
index 122a27f4804..c30d9ac109e 100644
--- a/src/mesa/main/lines.c
+++ b/src/mesa/main/lines.c
@@ -122,7 +122,7 @@ _mesa_LineStipple( GLint factor, GLushort pattern )
* Initializes __GLcontextRec::Line and line related constants in
* __GLcontextRec::Const.
*/
-void _mesa_init_line( GLcontext * ctx )
+void GLAPIENTRY _mesa_init_line( GLcontext * ctx )
{
/* Line group */
ctx->Line.SmoothFlag = GL_FALSE;
diff --git a/src/mesa/main/program.c b/src/mesa/main/program.c
index 4231b220153..546c0540032 100644
--- a/src/mesa/main/program.c
+++ b/src/mesa/main/program.c
@@ -791,7 +791,7 @@ _mesa_load_state_parameters(GLcontext *ctx,
* \note Called from the GL API dispatcher by both glBindProgramNV
* and glBindProgramARB.
*/
-void
+void GLAPIENTRY
_mesa_BindProgram(GLenum target, GLuint id)
{
struct program *prog;
@@ -945,7 +945,7 @@ _mesa_DeletePrograms(GLsizei n, const GLuint *ids)
* \note Not compiled into display lists.
* \note Called by both glGenProgramsNV and glGenProgramsARB.
*/
-void
+void GLAPIENTRY
_mesa_GenPrograms(GLsizei n, GLuint *ids)
{
GLuint first;
@@ -990,7 +990,7 @@ _mesa_GenPrograms(GLsizei n, GLuint *ids)
* \param id is the program identifier
* \return GL_TRUE if id is a program, else GL_FALSE.
*/
-GLboolean
+GLboolean GLAPIENTRY
_mesa_IsProgram(GLuint id)
{
struct program *prog;