Re: [Mesa-dev] Mesa (master): draw: Prevent out-of-bounds vertex buffer access.

2011-04-06 Thread José Fonseca
Manuel, Yeah. I ran into the bogus warnings over the weekend and pushed a fix this morning: commit dcbc9be38ecea30506198d0db037cbf532f070e4 Author: José Fonseca Date: Tue Apr 5 21:35:11 2011 +0100 draw: Fix thinko in debug warnings. Thanks for letting me know. Jose On 04/06/2011 11

Re: [Mesa-dev] Mesa (master): draw: Prevent out-of-bounds vertex buffer access.

2011-04-06 Thread Manuel Massing
Hi Jose, there seems to be a logic error in the commit 3733da31e8b4405b65e1b6ca3b6599ecc5af5fe7 (see below for the relevant section). The "index out of range" message will be printed when the index is actually valid, the condition should be replaced by if (idx < min_index ||