summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/polygon.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/polygon.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/polygon.c')
-rw-r--r--src/mesa/main/polygon.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/mesa/main/polygon.c b/src/mesa/main/polygon.c
index 1051c8ce179..192c40516fb 100644
--- a/src/mesa/main/polygon.c
+++ b/src/mesa/main/polygon.c
@@ -49,7 +49,7 @@
* change, flushes the vertices and notifies the driver via
* the dd_function_table::CullFace callback.
*/
-void
+void GLAPIENTRY
_mesa_CullFace( GLenum mode )
{
GET_CURRENT_CONTEXT(ctx);
@@ -85,7 +85,7 @@ _mesa_CullFace( GLenum mode )
* flushes the vertices and notifies the driver via
* the dd_function_table::FrontFace callback.
*/
-void
+void GLAPIENTRY
_mesa_FrontFace( GLenum mode )
{
GET_CURRENT_CONTEXT(ctx);
@@ -124,7 +124,7 @@ _mesa_FrontFace( GLenum mode )
* gl_polygon_attrib::BackMode. On change flushes the vertices and notifies the
* driver via the dd_function_table::PolygonMode callback.
*/
-void
+void GLAPIENTRY
_mesa_PolygonMode( GLenum face, GLenum mode )
{
GET_CURRENT_CONTEXT(ctx);
@@ -177,7 +177,7 @@ _mesa_PolygonMode( GLenum face, GLenum mode )
#if _HAVE_FULL_GL
-void
+void GLAPIENTRY
_mesa_PolygonStipple( const GLubyte *pattern )
{
GET_CURRENT_CONTEXT(ctx);
@@ -195,7 +195,7 @@ _mesa_PolygonStipple( const GLubyte *pattern )
-void
+void GLAPIENTRY
_mesa_GetPolygonStipple( GLubyte *dest )
{
GET_CURRENT_CONTEXT(ctx);
@@ -208,7 +208,7 @@ _mesa_GetPolygonStipple( GLubyte *dest )
}
-void
+void GLAPIENTRY
_mesa_PolygonOffset( GLfloat factor, GLfloat units )
{
GET_CURRENT_CONTEXT(ctx);
@@ -231,7 +231,7 @@ _mesa_PolygonOffset( GLfloat factor, GLfloat units )
-void
+void GLAPIENTRY
_mesa_PolygonOffsetEXT( GLfloat factor, GLfloat bias )
{
GET_CURRENT_CONTEXT(ctx);