From c40d1dd62dd9bcbb97128e37a75d991a8d3b2d8c Mon Sep 17 00:00:00 2001 From: Kendall Bennett Date: Tue, 21 Oct 2003 22:22:17 +0000 Subject: Added GLAPIENTRY decorations for all first level OpenGL API function entry points so that the calling conventions will work correctly with the assembler stubs with the Open Watcom compiler. --- src/mesa/tnl/t_array_api.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/tnl/t_array_api.h') diff --git a/src/mesa/tnl/t_array_api.h b/src/mesa/tnl/t_array_api.h index c26112bef5..61d1f696b0 100644 --- a/src/mesa/tnl/t_array_api.h +++ b/src/mesa/tnl/t_array_api.h @@ -30,12 +30,12 @@ #include "t_context.h" -extern void _tnl_DrawArrays(GLenum mode, GLint first, GLsizei count); +extern void GLAPIENTRY _tnl_DrawArrays(GLenum mode, GLint first, GLsizei count); -extern void _tnl_DrawElements(GLenum mode, GLsizei count, GLenum type, +extern void GLAPIENTRY _tnl_DrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices); -extern void _tnl_DrawRangeElements(GLenum mode, GLuint start, +extern void GLAPIENTRY _tnl_DrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); -- cgit v1.2.3