diff options
author | Ian Romanick <[email protected]> | 2015-11-11 16:30:41 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2016-02-10 10:59:28 -0800 |
commit | 9ae42ab1ec7024814494cf65c4527c1b9ad98cd0 (patch) | |
tree | b8d1cef9579cac54c828d6bea7fe50ec62204d71 /src/mesa/main/fbobject.h | |
parent | 7aedbbacae6d3ec3d06735fff2eb662964773ad2 (diff) |
mesa: Refactor _mesa_framebuffer_renderbuffer
This function previously was only used in fbobject.c and contained a
bunch of API validation. Split the function into
framebuffer_renderbuffer that is static and contains the validation, and
_mesa_framebuffer_renderbuffer that is suitable for calling from
elsewhere in Mesa (e.g., meta).
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/main/fbobject.h')
-rw-r--r-- | src/mesa/main/fbobject.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/main/fbobject.h b/src/mesa/main/fbobject.h index 8dad0ff34e7..458e4409f98 100644 --- a/src/mesa/main/fbobject.h +++ b/src/mesa/main/fbobject.h @@ -91,8 +91,7 @@ extern void _mesa_framebuffer_renderbuffer(struct gl_context *ctx, struct gl_framebuffer *fb, GLenum attachment, - struct gl_renderbuffer *rb, - const char *func); + struct gl_renderbuffer *rb); extern void _mesa_validate_framebuffer(struct gl_context *ctx, struct gl_framebuffer *fb); |