mirror of https://github.com/mosra/magnum.git
Browse Source
In OpenGL ES 2.0 there is EXT_draw_buffers, which I overlooked somehow, so I added it to extension list and included in the implementation. It combines NV_draw_buffers and NV_fbo_color_attachments, so the implementation now selects one of the two based on which extension is supported, preferring the EXT one. Updated the documentation to be less confusing, fixed extension links. Also the single-output mapForDraw() is not handled separately on ES anymore and just calls DrawBuffers implementation with single parameter, resulting in less generated code. EXT_draw_buffers can also be called on default framebuffer and apparently in ES there is no way to map front framebuffer for drawing, so I removed it from the DefaultFramebuffer::DrawAttachment enum.pull/107/head
18 changed files with 230 additions and 60 deletions
Loading…
Reference in new issue