summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2015-09-18 15:57:41 -0400
committerIan Romanick <ian.d.romanick@intel.com>2015-09-22 08:23:42 -0700
commit9fc4e33b1727f3ac63e446597402eda1bb56679f (patch)
tree1fc18082cfed6f6355547772e6cffb5ff2d896e8 /tests
parent956d26a993adfbdce40a351e2015a197c7813fc3 (diff)
ext_framebuffer_multisample_blit_scaled: Constify function parameter
Trivial. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/spec/ext_framebuffer_multisample_blit_scaled/blit-scaled.cpp2
1 files changed, 1 insertions, 1 deletions
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 e14bb5804..60fdd4d53 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);