Carl Worth <[email protected]> writes: > With the current piglit dispatch code, the distinction between things > like glBeginQuery and glBeginQueryARB is taken care of already so the > test can be simplified a bit.
> + if (piglit_get_gl_version() < 15 &&
> + ! piglit_is_extension_supported("GL_ARB_occlusion_query"))
> + {
> piglit_report_result(PIGLIT_SKIP);
> }
This block could just be
piglit_require_extension("GL_ARB_occlusion_query") -- I think all
implementations of 1.5+ still expose ARB_oq.
Other than that,
Reviewed-by: Eric Anholt <[email protected]>
pgpvAw5q5FHsC.pgp
Description: PGP signature
_______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
