diff options
Diffstat (limited to 'src/mesa/main/renderbuffer.h')
-rw-r--r-- | src/mesa/main/renderbuffer.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/mesa/main/renderbuffer.h b/src/mesa/main/renderbuffer.h index a6f14394982..f9a6462d536 100644 --- a/src/mesa/main/renderbuffer.h +++ b/src/mesa/main/renderbuffer.h @@ -47,13 +47,14 @@ extern void _mesa_delete_renderbuffer(struct gl_context *ctx, struct gl_renderbuffer *rb); extern void -_mesa_add_renderbuffer_without_ref(struct gl_framebuffer *fb, - gl_buffer_index bufferName, - struct gl_renderbuffer *rb); +_mesa_attach_and_own_rb(struct gl_framebuffer *fb, + gl_buffer_index bufferName, + struct gl_renderbuffer *rb); extern void -_mesa_add_renderbuffer(struct gl_framebuffer *fb, - gl_buffer_index bufferName, struct gl_renderbuffer *rb); +_mesa_attach_and_reference_rb(struct gl_framebuffer *fb, + gl_buffer_index bufferName, + struct gl_renderbuffer *rb); extern void _mesa_remove_renderbuffer(struct gl_framebuffer *fb, |