Fix Coverity "big parameter passed by value" defect.

Signed-off-by: Vinson Lee <v...@freedesktop.org>
---
 tests/spec/arb_framebuffer_object/blit-scaled-linear.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/spec/arb_framebuffer_object/blit-scaled-linear.cpp 
b/tests/spec/arb_framebuffer_object/blit-scaled-linear.cpp
index c972586..336a962 100644
--- a/tests/spec/arb_framebuffer_object/blit-scaled-linear.cpp
+++ b/tests/spec/arb_framebuffer_object/blit-scaled-linear.cpp
@@ -203,7 +203,7 @@ piglit_init(int argc, char **argv)
        }
 }
 
-bool test_blit_scaled_linear(Fbo fbo_test)
+bool test_blit_scaled_linear(const Fbo& fbo_test)
 {
        GLfloat scale;
        GLint samples;
-- 
1.9.1

_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to