added a few missing GLAPIENTRYs to make MinGW compile again
authorDaniel Borca <dborca@users.sourceforge.net>
Thu, 23 Oct 2003 12:02:36 +0000 (12:02 +0000)
committerDaniel Borca <dborca@users.sourceforge.net>
Thu, 23 Oct 2003 12:02:36 +0000 (12:02 +0000)
src/mesa/main/lines.c
src/mesa/main/program.c

index 122a27f..c30d9ac 100644 (file)
@@ -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;
index 4231b22..546c054 100644 (file)
@@ -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;