On Thu, 2011-05-19 at 14:13 +0200, Ian Romanick wrote: > From: Ian Romanick <ian.d.roman...@intel.com> > > Since RowStride might be negative, we want a signed result. On 64-bit > platforms, an unsigned 32-bit result added to a 64-bit pointer will > give the wrong answer.
Hah, saw this just as I sent my patch. Let's hear it for communication. This is less intrusive than mine, but I think mine's preferable, unless we're sure all other users of _mesa_get_format_bytes() are correct. - ajax
signature.asc
Description: This is a digitally signed message part
_______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev