On 22 June 2012 03:15, Dave Airlie <[email protected]> wrote: > Hi guys, > > I haven't ran piglit in ages, went to give it a spin this morning and > getting a lot of fails due to > > ./bin/fbo-fragcoord -auto -fbo > freeglut ERROR: Function <glutSwapBuffers> called without first > calling 'glutInit'. > > Which is perfectly true, but I've no idea where we should fix this. >
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". 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. > > Dave. > _______________________________________________ > Piglit mailing list > [email protected] > http://lists.freedesktop.org/mailman/listinfo/piglit >
_______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
