Commit d73de4b0 authored by Vinson Lee's avatar Vinson Lee
Browse files

ext_transform_feedback: Move declaration before code.



Fixes MSVC build error.
Signed-off-by: default avatarVinson Lee <vlee@vmware.com>
parent e7e81fc7
......@@ -392,10 +392,10 @@ match_strips(int reference, int compare)
malloc(piglit_width * (piglit_height / 4) * 4 * sizeof(float));
int reference_offset = (3 - reference) * (piglit_height / 4);
int compare_offset = (3 - compare) * (piglit_height / 4);
GLboolean result;
glReadPixels(0, reference_offset, piglit_width, piglit_height / 4,
GL_RGBA, GL_FLOAT, reference_image);
GLboolean result =
piglit_probe_image_rgba(0, compare_offset, piglit_width,
result = piglit_probe_image_rgba(0, compare_offset, piglit_width,
piglit_height / 4, reference_image);
free(reference_image);
return result;
......
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