[Mesa-dev] [v3 PATCH 06/10] i965: Use _mesa_geometry_ functions appropriately

Matt Turner mattst88 at gmail.com
Thu May 21 16:52:31 PDT 2015


On Thu, May 21, 2015 at 4:44 PM, Rogovin, Kevin <kevin.rogovin at intel.com> wrote:
>>     struct brw_state_flags state = brw->state.pipelines[pipeline];
>> +   int fb_samples = (int)_mesa_geometric_samples(ctx->DrawBuffer);
>
>> The cast looks strange
>
> Is there a spacing missing in the cast? or is it strange because of the types?

Strange because of the types -- presumably fb_samples is an int
because its uses are in a comparison with another int (that probably
doesn't need to be an int :)


More information about the mesa-dev mailing list