diff options
author | Roland Scheidegger <[email protected]> | 2007-07-18 20:17:14 +0200 |
---|---|---|
committer | Roland Scheidegger <[email protected]> | 2007-07-19 17:59:59 +0200 |
commit | a1bc0d0f51c2aa248a349283c3b86ae2c72af4aa (patch) | |
tree | 302c0269c002d49ce1e1d31e9e562308d1a2bfa9 /src/mesa/main/framebuffer.c | |
parent | 6075df53b5435ddada989d776d989132def363a6 (diff) |
fix mesa's handling of fbo's / window fb (again)
Make sure the relevant fields in window fbs get updated at appropriate time
(those are NOT the same as fbos!!!), and fix up related code accordingly.
This is a bit ugly, but there's a reason the issues section in EXT_fbo is
a couple hundred pages long...
Hopefully correct now.
Diffstat (limited to 'src/mesa/main/framebuffer.c')
-rw-r--r-- | src/mesa/main/framebuffer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c index 2ff067164bf..c9b30d32528 100644 --- a/src/mesa/main/framebuffer.c +++ b/src/mesa/main/framebuffer.c @@ -695,8 +695,7 @@ _mesa_update_framebuffer(GLcontext *ctx) struct gl_framebuffer *fbread = ctx->ReadBuffer; update_framebuffer(ctx, fb); - if (fbread != fb && fbread != NULL /* can happen at make_current - - core/driver circular dependencies, should be fixed up */) + if (fbread != fb) update_framebuffer(ctx, fbread); } |