mesa: new cases in _mesa_base_fbo_format()
authorBrian Paul <brianp@vmware.com>
Tue, 25 Jan 2011 02:38:52 +0000 (19:38 -0700)
committerBrian Paul <brianp@vmware.com>
Tue, 25 Jan 2011 02:38:52 +0000 (19:38 -0700)
commit976ea9d76b44b6e654bd38e3d00f20517be518e0
tree0885f00a0f33ffbb8fac813c0bacfb8719812941
parentf41bbc7c44565c7f3949340a4e2fdf78a8cebf3f
mesa: new cases in _mesa_base_fbo_format()

The set of internalFormat parameters accepted by glRenderBufferStorage
depends on the EXT vs. ARB version of framebuffer_object.  The later
added support for GL_ALPHA, GL_LUMINANCE, etc. formats.  Note that
these formats might be legal but might not be supported.  That should
be checked with glCheckFramebufferStatus().
src/mesa/main/fbobject.c