[Piglit] [PATCH] ext_framebuffer_multisample_blit_scaled: Use const reference.
Vinson Lee
vlee at freedesktop.org
Fri Jan 9 18:21:15 PST 2015
Fix big parameter passed by value defect reported by Coverity.
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
---
tests/spec/ext_framebuffer_multisample_blit_scaled/blit-scaled.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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 0996d31..7e14d59 100644
--- a/tests/spec/ext_framebuffer_multisample_blit_scaled/blit-scaled.cpp
+++ b/tests/spec/ext_framebuffer_multisample_blit_scaled/blit-scaled.cpp
@@ -309,7 +309,7 @@ piglit_init(int argc, char **argv)
}
}
-bool test_ms_blit_scaled(Fbo ms_fbo)
+bool test_ms_blit_scaled(const Fbo& ms_fbo)
{
GLfloat scale;
bool pass = true, result = true;
--
2.1.0
More information about the Piglit
mailing list