From 8a60494e4d73d17342bb9e5c0faed44d2d268415 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Mon, 19 Jan 2015 12:40:50 -0800 Subject: arb_sample_shading-builtin-gl-sample-id: Use const reference. Fix big parameter passed by value defect reported by Coverity. Signed-off-by: Vinson Lee Reviewed-by: Anuj Phogat --- tests/spec/arb_sample_shading/execution/builtin-gl-sample-id.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/spec/arb_sample_shading/execution/builtin-gl-sample-id.cpp b/tests/spec/arb_sample_shading/execution/builtin-gl-sample-id.cpp index 739c68510..e5681d4c1 100644 --- a/tests/spec/arb_sample_shading/execution/builtin-gl-sample-id.cpp +++ b/tests/spec/arb_sample_shading/execution/builtin-gl-sample-id.cpp @@ -157,7 +157,7 @@ piglit_init(int argc, char **argv) } } -bool test_builtin_sample_id(Fbo ms_fbo) +bool test_builtin_sample_id(const Fbo& ms_fbo) { int samples; bool result = true; -- cgit v1.2.3