Re: [Mesa-dev] [PATCHES] handle potential errors in context creation

2010-08-15 Thread Marek Olšák
On Mon, Aug 16, 2010 at 2:37 AM, nobled wrote: > Except for the first patch, this is mostly adding a bunch of different > null checks: > > 1. r300g: Fix macro > This fixes a potential bug if (has_hyperz) is false (it would act as > if has_hyperz is true). > 2. r300g: Fix leaks in failed context c

[Mesa-dev] [PATCHES] handle potential errors in context creation

2010-08-15 Thread nobled
Except for the first patch, this is mostly adding a bunch of different null checks: 1. r300g: Fix macro This fixes a potential bug if (has_hyperz) is false (it would act as if has_hyperz is true). 2. r300g: Fix leaks in failed context creation This patch is the biggest one: It refactors the create