diff options
author | Erik Wien <[email protected]> | 2010-01-26 13:19:30 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-01-26 13:19:32 -0700 |
commit | 68ca19afd7299fa9c686f95d53b7e14df37aba4c (patch) | |
tree | 549e54b3feb72e5a29b7b56ca802005a7ef721c2 /src/mesa/main/texfetch.c | |
parent | cbecb8fc8e85cfafed7fd8fd0e2dd1143efcf62b (diff) |
mesa: Don't bind DRAW/READ_FRAMEBUFFER separately without FBO blit support
If GL_EXT_framebuffer_blit was not supported _mesa_DeleteFramebuffersEXT
would raise an error when deleting the currently bound framebuffer. This
because it tried to bind the default DRAW- and READ_FRAMEBUFFER separately.
This patch binds the default FRAMEBUFFER instead in that case.
Encountered in the fbo/fbo-copyteximage piglit test on R600.
Patch cleaned up a bit by Brian Paul.
Diffstat (limited to 'src/mesa/main/texfetch.c')
0 files changed, 0 insertions, 0 deletions