mesa: Reenable check for GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT
authorKristian Høgsberg <krh@bitplanet.net>
Mon, 24 May 2010 20:56:12 +0000 (16:56 -0400)
committerKristian Høgsberg <krh@bitplanet.net>
Mon, 24 May 2010 20:56:56 +0000 (16:56 -0400)
commite88cef3c9d5de2a5dccd9ad770952a9d2347ba0d
tree8723391529f74d662cfe99cde82197204f1ccc33
parentc10154a2988c30ce8e20c16e66be434a0e5c37a4
mesa: Reenable check for GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT

The check was disabled when FEATURE_OES_framebuffer_object was enabled,
since that used to mean we weren't implementing regular OpenGL semantics.
Now that we can compile in support for multiple APIs, change the #ifdef to
compile the check in when FEATURE_GL is enabled and enable the check for
contexts that implement OpenGL at runtime.
src/mesa/main/fbobject.c