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.
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c
index 8cb84d5..f882f94 100644
--- a/src/mesa/main/enable.c
+++ b/src/mesa/main/enable.c
@@ -156,7 +156,7 @@
* Get's the current context, assures that we're outside glBegin()/glEnd() and
* calls client_state().
*/
-void
+void GLAPIENTRY
_mesa_EnableClientState( GLenum cap )
{
GET_CURRENT_CONTEXT(ctx);
@@ -175,7 +175,7 @@
* Get's the current context, assures that we're outside glBegin()/glEnd() and
* calls client_state().
*/
-void
+void GLAPIENTRY
_mesa_DisableClientState( GLenum cap )
{
GET_CURRENT_CONTEXT(ctx);
@@ -1009,7 +1009,7 @@
* Get's the current context, assures that we're outside glBegin()/glEnd() and
* calls _mesa_set_enable().
*/
-void
+void GLAPIENTRY
_mesa_Enable( GLenum cap )
{
GET_CURRENT_CONTEXT(ctx);
@@ -1029,7 +1029,7 @@
* Get's the current context, assures that we're outside glBegin()/glEnd() and
* calls _mesa_set_enable().
*/
-void
+void GLAPIENTRY
_mesa_Disable( GLenum cap )
{
GET_CURRENT_CONTEXT(ctx);
@@ -1056,7 +1056,7 @@
* For the capabilities associated with extensions verifies that those
* extensions are effectively present before reporting.
*/
-GLboolean
+GLboolean GLAPIENTRY
_mesa_IsEnabled( GLenum cap )
{
GET_CURRENT_CONTEXT(ctx);