On 02/07/2013 08:35 AM, Brian Paul wrote:
OK, I thought you had git-write ability. I'll commit/push soon.

Actually, I found a few more issues with the code.

The piglit_swap_buffers() call should be moved after the probing code. And you should use piglit_present_results() instead. After a swapbuffers, the contents of the back buffer are undefined so you need to probe first.

I think that the probe loop can be replaced by a call to piglit_probe_image_rgb().

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

Reply via email to