diff options
Diffstat (limited to 'src/mesa/main/fbobject.h')
-rw-r--r-- | src/mesa/main/fbobject.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/mesa/main/fbobject.h b/src/mesa/main/fbobject.h index 59214ce81d8..71517adfd89 100644 --- a/src/mesa/main/fbobject.h +++ b/src/mesa/main/fbobject.h @@ -27,6 +27,11 @@ #define FBOBJECT_H +extern struct gl_renderbuffer_attachment * +_mesa_get_attachment(GLcontext *ctx, struct gl_framebuffer *fb, + GLenum attachment); + + extern void _mesa_remove_attachment(GLcontext *ctx, struct gl_renderbuffer_attachment *att); @@ -43,9 +48,8 @@ _mesa_set_renderbuffer_attachment(GLcontext *ctx, struct gl_renderbuffer *rb); extern void -_mesa_framebuffer_renderbuffer(GLcontext *ctx, - struct gl_renderbuffer_attachment *att, - struct gl_renderbuffer *rb); +_mesa_framebuffer_renderbuffer(GLcontext *ctx, struct gl_framebuffer *fb, + GLenum attachment, struct gl_renderbuffer *rb); extern void _mesa_test_framebuffer_completeness(GLcontext *ctx, struct gl_framebuffer *fb); |