Re: [Mesa-dev] [PATCH 1/2] mesa: Don't try to clear a NULL renderbuffer

2011-06-07 Thread Eric Anholt
On Tue, 7 Jun 2011 13:01:10 -0700, "Ian Romanick" wrote: > From: Ian Romanick > > In an ES2 context (or if GL_ARB_ES2_compatibility) is supported, the > framebuffer can be complete with some attachments be missing. In this > case the _ColorDrawBuffers pointer will be NULL. > > Fixes the crash

Re: [Mesa-dev] [PATCH 1/2] mesa: Don't try to clear a NULL renderbuffer

2011-06-07 Thread Brian Paul
On 06/07/2011 02:01 PM, Ian Romanick wrote: From: Ian Romanick In an ES2 context (or if GL_ARB_ES2_compatibility) is supported, the framebuffer can be complete with some attachments be missing. In this case the _ColorDrawBuffers pointer will be NULL. Fixes the crash in piglit test fbo-missing-

[Mesa-dev] [PATCH 1/2] mesa: Don't try to clear a NULL renderbuffer

2011-06-07 Thread Ian Romanick
From: Ian Romanick In an ES2 context (or if GL_ARB_ES2_compatibility) is supported, the framebuffer can be complete with some attachments be missing. In this case the _ColorDrawBuffers pointer will be NULL. Fixes the crash in piglit test fbo-missing-attachment-clear. Bugzilla: https://bugs.fre