On 22 June 2012 03:15, Dave Airlie <span dir="ltr"><<a href="mailto:airlied@gmail.com" target="_blank">airlied@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi guys,<br>
<br>
I haven't ran piglit in ages, went to give it a spin this morning and<br>
getting a lot of fails due to<br>
<br>
./bin/fbo-fragcoord -auto -fbo<br>
freeglut ERROR: Function <glutSwapBuffers> called without first<br>
calling 'glutInit'.<br>
<br>
Which is perfectly true, but I've no idea where we should fix this.<br></blockquote><div><br>fbo-fragcoord isn't supposed to be run with the "-fbo" option. If you look at its entry in all.tests, you'll see that it's added using add_plain_test(), which causes it to be executed as "fbo-fragcoord -auto".<br>
<br>Having said that, it seems silly that fbo-fragcoord calls glutSwapBuffers() directly. Most piglit tests call piglit_present_results(), which only calls glutSwapBuffers is the test is being run in manual non-fbo mode.<br>
</div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Dave.<br>
_______________________________________________<br>
Piglit mailing list<br>
<a href="mailto:Piglit@lists.freedesktop.org">Piglit@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/piglit" target="_blank">http://lists.freedesktop.org/mailman/listinfo/piglit</a><br>
</blockquote></div><br>