summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/buffers.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-06-16 07:31:58 -0600
committerBrian Paul <[email protected]>2011-06-16 07:31:58 -0600
commit37e6ab7b2de90ee90c06ceb08974423248fa6ee5 (patch)
treea63056f46f4a0cfd90d88724b95b3949b75a0f07 /src/mesa/main/buffers.h
parent296052681601f98e16c701299d2b2a6d9bd5eeab (diff)
mesa: refactor, create _mesa_update_draw_buffers() helper
Move this code out of _mesa_make_current() and put it into a helper function.
Diffstat (limited to 'src/mesa/main/buffers.h')
-rw-r--r--src/mesa/main/buffers.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/buffers.h b/src/mesa/main/buffers.h
index 1404112c411..8083bc3d353 100644
--- a/src/mesa/main/buffers.h
+++ b/src/mesa/main/buffers.h
@@ -50,6 +50,10 @@ _mesa_drawbuffers(struct gl_context *ctx, GLuint n, const GLenum *buffers,
extern void
_mesa_readbuffer(struct gl_context *ctx, GLenum buffer, GLint bufferIndex);
+extern void
+_mesa_update_draw_buffers(struct gl_context *ctx);
+
+
extern void GLAPIENTRY
_mesa_ReadBuffer( GLenum mode );