On Mon, 21 May 2012 21:08:42 +0300, Pauli Nieminen <pauli.niemi...@linux.intel.com> wrote: > This allows runtime skiping of egl tests if we are running piglit using > glx.
> +#ifdef USE_WAFFLE > + if (glutGetPlatform() != WAFFLE_PLATFORM_X11_EGL && > + glutGetPlatform() != WAFFLE_PLATFORM_ANDROID) { > + fprintf(stderr, "EGL test running in platform without EGL\n"); > + piglit_report_result(PIGLIT_SKIP); > + } > +#endif This is the first time I've seen the symbol "glutGetPlatform". Adding our own symbols in the glut namespace that return WAFFLE_* things seems like a totally wrong thing to do. Probably that should be a piglit call or variable instead.
pgpZ4rBDaae8H.pgp
Description: PGP signature
_______________________________________________ Piglit mailing list Piglit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/piglit