summaryrefslogtreecommitdiffstats
path: root/src/mesa
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
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')
-rw-r--r--src/mesa/main/points.c8
-rw-r--r--src/mesa/main/points.h3
2 files changed, 11 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);
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 );