diff options
Diffstat (limited to 'src/mesa/main/buffers.h')
-rw-r--r-- | src/mesa/main/buffers.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/mesa/main/buffers.h b/src/mesa/main/buffers.h index 12d57430a39..ca7ad19235b 100644 --- a/src/mesa/main/buffers.h +++ b/src/mesa/main/buffers.h @@ -57,12 +57,17 @@ _mesa_drawbuffers(struct gl_context *ctx, struct gl_framebuffer *fb, const GLbitfield *destMask); extern void -_mesa_readbuffer(struct gl_context *ctx, GLenum buffer, GLint bufferIndex); +_mesa_readbuffer(struct gl_context *ctx, struct gl_framebuffer *fb, + GLenum buffer, GLint bufferIndex); extern void _mesa_update_draw_buffers(struct gl_context *ctx); +extern void +_mesa_read_buffer(struct gl_context *ctx, struct gl_framebuffer *fb, + GLenum buffer, const char *caller); + extern void GLAPIENTRY _mesa_ReadBuffer( GLenum mode ); |