diff options
-rw-r--r-- | src/mapi/glapi/gen/gl_API.xml | 2 | ||||
-rw-r--r-- | src/mesa/main/points.c | 8 | ||||
-rw-r--r-- | src/mesa/main/points.h | 3 |
3 files changed, 12 insertions, 1 deletions
diff --git a/src/mapi/glapi/gen/gl_API.xml b/src/mapi/glapi/gen/gl_API.xml index 3e2bdc1736e..ca514fdd0f9 100644 --- a/src/mapi/glapi/gen/gl_API.xml +++ b/src/mapi/glapi/gen/gl_API.xml @@ -2092,7 +2092,7 @@ <glx rop="99"/> </function> - <function name="PointSize" es1="1.0"> + <function name="PointSize" es1="1.0" no_error="true"> <param name="size" type="GLfloat"/> <glx rop="100"/> </function> diff --git a/src/mesa/main/points.c b/src/mesa/main/points.c index 012fac5b3cb..30bd7b89522 100644 --- a/src/mesa/main/points.c +++ b/src/mesa/main/points.c @@ -55,6 +55,14 @@ point_size(struct gl_context *ctx, GLfloat size) void GLAPIENTRY +_mesa_PointSize_no_error(GLfloat size) +{ + GET_CURRENT_CONTEXT(ctx); + point_size(ctx, size); +} + + +void GLAPIENTRY _mesa_PointSize( GLfloat size ) { GET_CURRENT_CONTEXT(ctx); diff --git a/src/mesa/main/points.h b/src/mesa/main/points.h index c3d0f691b03..c2b67a371fd 100644 --- a/src/mesa/main/points.h +++ b/src/mesa/main/points.h @@ -37,6 +37,9 @@ struct gl_context; +void GLAPIENTRY +_mesa_PointSize_no_error(GLfloat size); + extern void GLAPIENTRY _mesa_PointSize( GLfloat size ); |