summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/multisample.c7
-rw-r--r--src/mesa/main/multisample.h3
2 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/main/multisample.c b/src/mesa/main/multisample.c
index 121023ac827..f8b117f143d 100644
--- a/src/mesa/main/multisample.c
+++ b/src/mesa/main/multisample.c
@@ -117,6 +117,13 @@ sample_maski(struct gl_context *ctx, GLuint index, GLbitfield mask)
}
void GLAPIENTRY
+_mesa_SampleMaski_no_error(GLuint index, GLbitfield mask)
+{
+ GET_CURRENT_CONTEXT(ctx);
+ sample_maski(ctx, index, mask);
+}
+
+void GLAPIENTRY
_mesa_SampleMaski(GLuint index, GLbitfield mask)
{
GET_CURRENT_CONTEXT(ctx);
diff --git a/src/mesa/main/multisample.h b/src/mesa/main/multisample.h
index 7441d3ee941..379afbc574f 100644
--- a/src/mesa/main/multisample.h
+++ b/src/mesa/main/multisample.h
@@ -41,6 +41,9 @@ _mesa_init_multisample(struct gl_context *ctx);
extern void GLAPIENTRY
_mesa_GetMultisamplefv(GLenum pname, GLuint index, GLfloat* val);
+void GLAPIENTRY
+_mesa_SampleMaski_no_error(GLuint index, GLbitfield mask);
+
extern void GLAPIENTRY
_mesa_SampleMaski(GLuint index, GLbitfield mask);