Test for ATI2n on real Windows machines

Stefan Dösinger stefandoesinger at gmx.at
Fri Mar 12 02:02:03 CST 2010


Am 11.03.2010 um 21:51 schrieb REalm:
> +        expected_pitch = (128 + dxt_formats[i].block_height - 1) / dxt_formats[i].block_width
> +                         * dxt_formats[i].block_size;
> +        //ok(locked_rect.Pitch == expected_pitch, "Got pitch %d, expected pitch %d for format %s\n", locked_rect.Pitch, expected_pitch, dxt_formats[i].name);
> +        ok(0, "Got pitch %d, expected pitch %d for format %s\n", locked_rect.Pitch, expected_pitch, dxt_formats[i].name);
Hint: You can use trace() to print lines, that looks nicer than a forced test failure :-)




More information about the wine-devel mailing list