Re: [Mesa-dev] [PATCH] meta: move vertex array enables for mipmap generation

2013-05-31 Thread Ian Romanick
On 05/31/2013 08:18 AM, Brian Paul wrote: Before, on the second call to GenerateMipmap were enabling two vertex arrays for the current vertex array object, rather than the private generate-mipmap vertex array object. This caused things to blow up elsewhere. This patch moves the array enables in

Re: [Mesa-dev] [PATCH] meta: move vertex array enables for mipmap generation

2013-05-31 Thread Jose Fonseca
Yeah, that looks even better than my fix. Jose - Original Message - > Before, on the second call to GenerateMipmap were enabling two > vertex arrays for the current vertex array object, rather than > the private generate-mipmap vertex array object. This caused > things to blow up elsewhe

[Mesa-dev] [PATCH] meta: move vertex array enables for mipmap generation

2013-05-31 Thread Brian Paul
Before, on the second call to GenerateMipmap were enabling two vertex arrays for the current vertex array object, rather than the private generate-mipmap vertex array object. This caused things to blow up elsewhere. This patch moves the array enables into the block where the generate-mipmap verte