[Piglit] [PATCH] fbo-blit-scaled-linear: Use const reference.
Vinson Lee
vlee at freedesktop.org
Mon Dec 15 17:17:03 PST 2014
Fix Coverity "big parameter passed by value" defect.
Signed-off-by: Vinson Lee <vlee at 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
More information about the Piglit
mailing list