[Mesa-dev] [PATCH] mesa: Remove 'texelBytes' declarations that are only used in assertions.

Brian Paul brianp at vmware.com
Tue Jan 3 14:16:35 PST 2012


On 01/03/2012 01:44 PM, Ian Romanick wrote:
> On 01/03/2012 12:23 PM, Stéphane Marchesin wrote:
>> As far as I know, this check has value, why not replace the assert
>> with something like
>> ASSERT(_mesa_get_format_bytes(dstFormat) == sizeof(GLuint));
>> instead? That would silence the warning but keep the check.
>
> I was going to suggest exactly the same thing.

I'd be OK with that too.

Sorry for the busy work, Vinson.

-Brian


More information about the mesa-dev mailing list