2075a2076,2078 > /* Workaround to mend a hole in via unichrome dri driver : > * remove this assert but add a test if a renderbuffer were attached > * author: pierre.nerzic@free.fr 2078a2082 > */ 2087a2092,2101 > /* was this framebuffer already attached to a renderbuffer ? (via bug) */ > if (bufferName != BUFFER_DEPTH && > bufferName != BUFFER_STENCIL && > fb->Attachment[bufferName].Renderbuffer) { > /* choice (to be compared deeply), comment or not the return */ > return; /* no new renderbuffer, reuse the current one */ > /* second possibility : remove the current buffer before allocation */ > _mesa_remove_renderbuffer(fb,bufferName); > } >