Commit 2b4290e0 authored by Vinson Lee's avatar Vinson Lee
Browse files

arb_sample_shading-builtin-gl-num-samples: Use const reference.



Fix Coverity "big parameter passed by value" defect.
Signed-off-by: Vinson Lee's avatarVinson Lee <vlee@freedesktop.org>
Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
parent dd2b2043
......@@ -118,7 +118,7 @@ piglit_init(int argc, char **argv)
}
}
bool test_builtin_num_samples(Fbo ms_fbo)
bool test_builtin_num_samples(const Fbo& ms_fbo)
{
GLint samples;
GLfloat expected[4] = {0.0, 1.0, 0.0, 1.0};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment