summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 122a27f480..c30d9ac109 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 4231b22015..546c054003 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;