diff options
author | Vinson Lee <vlee@freedesktop.org> | 2015-01-19 12:40:50 -0800 |
---|---|---|
committer | Vinson Lee <vlee@freedesktop.org> | 2015-01-20 20:25:03 -0800 |
commit | 8a60494e4d73d17342bb9e5c0faed44d2d268415 (patch) | |
tree | 7139044774238e20ef212352216a24a3204514f2 /tests | |
parent | 4e2b2e55195b964b83fb18ff4dfa6fc8636dfc3f (diff) |
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 <vlee@freedesktop.org>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/spec/arb_sample_shading/execution/builtin-gl-sample-id.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |