On 10/19/2011 06:03 AM, nobled wrote:
This avoids forming invalid pointers needlessly, which even if never dereferenced is undefined behavior. It also makes _mesa_validate_pbo_access() more comprehensible.
Reviewed-by: Brian Paul <[email protected]>BTW, be sure to test these changes with the glean pbo test. It covers quite a few cases.
-Brian _______________________________________________ mesa-dev mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-dev
