summaryrefslogtreecommitdiff
path: root/src/mesa/main/buffers.h
diff options
context:
space:
mode:
authorRoland Scheidegger <sroland@tungstengraphics.com>2007-07-18 20:17:14 +0200
committerRoland Scheidegger <sroland@tungstengraphics.com>2007-07-19 17:59:59 +0200
commita1bc0d0f51c2aa248a349283c3b86ae2c72af4aa (patch)
tree302c0269c002d49ce1e1d31e9e562308d1a2bfa9 /src/mesa/main/buffers.h
parent6075df53b5435ddada989d776d989132def363a6 (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/buffers.h')
-rw-r--r--src/mesa/main/buffers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/main/buffers.h b/src/mesa/main/buffers.h
index fcc2152342..208e7af2b9 100644
--- a/src/mesa/main/buffers.h
+++ b/src/mesa/main/buffers.h
@@ -56,6 +56,9 @@ extern void
_mesa_drawbuffers(GLcontext *ctx, GLuint n, const GLenum *buffers,
const GLbitfield *destMask);
+extern GLboolean
+_mesa_readbuffer_update_fields(GLcontext *ctx, GLenum buffer);
+
extern void GLAPIENTRY
_mesa_ReadBuffer( GLenum mode );