[Piglit] [PATCH 2/5] ext_framebuffer_multisample_blit_scaled: Constify function parameter
Ian Romanick
idr at freedesktop.org
Mon Sep 21 08:57:49 PDT 2015
From: Ian Romanick <ian.d.romanick at intel.com>
Trivial.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
---
tests/spec/ext_framebuffer_multisample_blit_scaled/blit-scaled.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/spec/ext_framebuffer_multisample_blit_scaled/blit-scaled.cpp b/tests/spec/ext_framebuffer_multisample_blit_scaled/blit-scaled.cpp
index e14bb58..60fdd4d 100644
--- a/tests/spec/ext_framebuffer_multisample_blit_scaled/blit-scaled.cpp
+++ b/tests/spec/ext_framebuffer_multisample_blit_scaled/blit-scaled.cpp
@@ -61,7 +61,7 @@ const float srcX1 = pattern_width / 2, srcY1 = pattern_height / 2;
static Fbo multisampled_tex, multisampled_fbo, singlesampled_fbo;
static void
-print_usage_and_exit(char *prog_name)
+print_usage_and_exit(const char *prog_name)
{
printf("Usage: %s <num_samples>\n", prog_name);
piglit_report_result(PIGLIT_FAIL);
--
2.1.0
More information about the Piglit
mailing list