aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/context.c
diff options
context:
space:
mode:
authorKendall Bennett <[email protected]>2003-10-21 22:22:17 +0000
committerKendall Bennett <[email protected]>2003-10-21 22:22:17 +0000
commitc40d1dd62dd9bcbb97128e37a75d991a8d3b2d8c (patch)
tree88f9ef7be42df7a7afee101baf18aff063ede9f8 /src/mesa/main/context.c
parentb1ca87a565033a767042120288b2c45723cf79cc (diff)
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.
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r--src/mesa/main/context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c
index ce3514213b4..51abf86072a 100644
--- a/src/mesa/main/context.c
+++ b/src/mesa/main/context.c
@@ -1908,7 +1908,7 @@ _mesa_record_error( GLcontext *ctx, GLenum error )
* Calls the #ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH macro and the
* dd_function_table::Finish driver callback, if not NULL.
*/
-void
+void GLAPIENTRY
_mesa_Finish( void )
{
GET_CURRENT_CONTEXT(ctx);
@@ -1924,7 +1924,7 @@ _mesa_Finish( void )
* Calls the #ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH macro and the
* dd_function_table::Flush driver callback, if not NULL.
*/
-void
+void GLAPIENTRY
_mesa_Flush( void )
{
GET_CURRENT_CONTEXT(ctx);