]> git.tdb.fi Git - libs/gl.git/commit
Set read buffer as well as draw buffer for FBO
authorMikko Rasa <tdb@tdb.fi>
Wed, 2 Oct 2013 07:56:28 +0000 (10:56 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 2 Oct 2013 08:00:04 +0000 (11:00 +0300)
commit17543a09ba24b8cd012b842577f9bfcfa1faf070
tree2051d3070fc3ac7249a4031391767466079ac46e
parent804ad5d99c575b92e9d47421947e963a44f7a905
Set read buffer as well as draw buffer for FBO

Apparently Nvidia drivers are too lax with this, but some others don't
like if the FBO has no color attachments and the read buffer is left at
its default setting of COLOR_ATTACHMENT0.
source/framebuffer.cpp