diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-08-16 18:52:48 +0100 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-08-16 18:52:48 +0100 |
commit | 32d86eb28aedd01a03ceab746214a8db2a4cbbab (patch) | |
tree | 2a6beb7c18ca16070f1e7ed01a89b590c623a92a /src/mesa/drivers | |
parent | c033ccc36d08c669dcdfbfc1cf89e472e8211c5f (diff) |
Rework the GL_READ_BUFFER, GL_DRAW_BUFFER state repairs that Roland previously did.
Basically, in update_framebuffer() (which should be called after an FBO is bound
with MakeCurrent or BindFramebuffer) we check if the FBO is a window-system FBO.
If it is, update the FBO's GL_READ/DRAW_BUFFER state according to the context state.
Old code still in place but disabled with #if 0 / #endif.
Diffstat (limited to 'src/mesa/drivers')
0 files changed, 0 insertions, 0 deletions