summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/points.c
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2017-07-20 10:19:23 +0200
committerSamuel Pitoiset <[email protected]>2017-07-31 13:53:40 +0200
commit540b1a8f0b19fa06303500f82824b209ef8f8ef5 (patch)
treeadc069efc0789a419e412eb8725fb78762716a2b /src/mesa/main/points.c
parent1693ab6c3aabba33902f24789519a08b461e3f30 (diff)
mesa: add KHR_no_error support to glPointSize()
Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa/main/points.c')
-rw-r--r--src/mesa/main/points.c8
1 files changed, 8 insertions, 0 deletions
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);