Re: [Mesa-dev] [PATCH] mesa/clear: fix crashes with illegal clear tests.

2012-01-10 Thread Jose Fonseca
- Original Message - > From: Dave Airlie > > Mesa shouldn't call into the drivers if there are no renderbuffers > bound to the attachments for the buffers to be cleared. > > Fixes a number of the clearbuffer-* tests on softpipe. > > Signed-off-by: Dave Airlie > --- > src/mesa/main/c

[Mesa-dev] [PATCH] mesa/clear: fix crashes with illegal clear tests.

2012-01-10 Thread Dave Airlie
From: Dave Airlie Mesa shouldn't call into the drivers if there are no renderbuffers bound to the attachments for the buffers to be cleared. Fixes a number of the clearbuffer-* tests on softpipe. Signed-off-by: Dave Airlie --- src/mesa/main/clear.c | 15 +++ 1 files changed, 11