summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/buffers.h
diff options
context:
space:
mode:
authorKenneth Graunke <[email protected]>2019-10-14 10:07:11 -0700
committerKenneth Graunke <[email protected]>2019-10-15 15:44:25 -0700
commitc512eca4daf75185db6f5d95b845d99bdc428950 (patch)
tree71b75d45a3499f7be0946b66822a7ae508287223 /src/mesa/main/buffers.h
parentd947276b4acc0b4ebb2745cbde82f7b2ccf11a4a (diff)
mesa: Make back_to_front_if_single_buffered non-static
So I can use it in fbobject.c in the next commit. Reviewed-by: Kristian H. Kristensen <[email protected]> Reviewed-by: Marek Olšák <[email protected]>
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 c24b636e19d..28e26b57558 100644
--- a/src/mesa/main/buffers.h
+++ b/src/mesa/main/buffers.h
@@ -78,6 +78,10 @@ _mesa_readbuffer(struct gl_context *ctx, struct gl_framebuffer *fb,
extern void
_mesa_update_draw_buffers(struct gl_context *ctx);
+extern GLenum
+_mesa_back_to_front_if_single_buffered(const struct gl_framebuffer *fb,
+ GLenum buffer);
+
void GLAPIENTRY
_mesa_ReadBuffer_no_error(GLenum mode);