[Mesa-dev] [PATCH 1/2] getenv4d-with-error: New test for a bug in glGetProgramEnvParameter4dARB().

Eric Anholt eric at anholt.net
Wed Jun 29 10:28:42 PDT 2011


On Wed, 29 Jun 2011 11:56:29 +0200, Gustaw Smolarczyk <wielkiegie at gmail.com> wrote:
> 2011/6/29 Eric Anholt <eric at anholt.net>:
> > +       if (fabs(test_data[0] - result_data[0]) > epsilon ||
> > +           fabs(test_data[1] - result_data[1]) > epsilon ||
> > +           fabs(test_data[2] - result_data[2]) > epsilon ||
> > +           fabs(test_data[3] - result_data[3]) > epsilon) {
> > +               fprintf(stderr, "ProgramEnvParamter4dvARB failed:\n");
> > +               fprintf(stderr, "Expected: (%f %f %f %f)\n",
> > +                       test_data[0],
> > +                       test_data[1],
> > +                       test_data[2],
> > +                       test_data[3]);
> > +               fprintf(stderr, "Expected: (%f %f %f %f)\n",
> 
> Shouldn't here be something different than "Expected"? Maybe "Found"?
> Same in the other patch.

Thanks!  Fixed.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110629/de0d4126/attachment.pgp>


More information about the mesa-dev mailing list