[Mesa-dev] [PATCH] mesa: Add unpack_uint_z_row support for floating-point depth buffers

Henri Verbeet hverbeet at gmail.com
Thu Feb 2 05:41:34 PST 2012


On 1 February 2012 23:12, Brian Paul <brianp at vmware.com> wrote:
>> +static void
>> +unpack_uint_z_Z32_FLOAT(const void *src, GLuint *dst, GLuint n)
>> +{
>> +   const float *s = ((const float *)src);
>
>
> More parens than necessary there.
>
The entire cast is unnecessary, IMO. But of course that would apply to
the other functions in that file as well.


More information about the mesa-dev mailing list