From: Samuel Pitoiset Date: Thu, 20 Jul 2017 08:19:23 +0000 (+0200) Subject: mesa: add KHR_no_error support to glPointSize() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=540b1a8f0b19fa06303500f82824b209ef8f8ef5;p=mesa.git mesa: add KHR_no_error support to glPointSize() Signed-off-by: Samuel Pitoiset Reviewed-by: Timothy Arceri --- 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 @@ - + 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 @@ -54,6 +54,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 ) { 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 );