diff options
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/main/fbobject.c | 18 | ||||
-rw-r--r-- | src/mesa/main/fbobject.h | 7 |
2 files changed, 9 insertions, 16 deletions
diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index df7cc1775cb..ef4fecff2ae 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -3675,11 +3675,11 @@ _mesa_NamedFramebufferRenderbuffer(GLuint framebuffer, GLenum attachment, } -void -_mesa_get_framebuffer_attachment_parameter(struct gl_context *ctx, - struct gl_framebuffer *buffer, - GLenum attachment, GLenum pname, - GLint *params, const char *caller) +static void +get_framebuffer_attachment_parameter(struct gl_context *ctx, + struct gl_framebuffer *buffer, + GLenum attachment, GLenum pname, + GLint *params, const char *caller) { const struct gl_renderbuffer_attachment *att; bool is_color_attachment = false; @@ -4030,8 +4030,8 @@ _mesa_GetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, return; } - _mesa_get_framebuffer_attachment_parameter(ctx, buffer, attachment, pname, - params, + get_framebuffer_attachment_parameter(ctx, buffer, attachment, pname, + params, "glGetFramebufferAttachmentParameteriv"); } @@ -4060,8 +4060,8 @@ _mesa_GetNamedFramebufferAttachmentParameteriv(GLuint framebuffer, buffer = ctx->WinSysDrawBuffer; } - _mesa_get_framebuffer_attachment_parameter(ctx, buffer, attachment, pname, - params, + get_framebuffer_attachment_parameter(ctx, buffer, attachment, pname, + params, "glGetNamedFramebufferAttachmentParameteriv"); } diff --git a/src/mesa/main/fbobject.h b/src/mesa/main/fbobject.h index 540bd9d40c3..a9e9beb3965 100644 --- a/src/mesa/main/fbobject.h +++ b/src/mesa/main/fbobject.h @@ -131,13 +131,6 @@ _mesa_check_framebuffer_status(struct gl_context *ctx, struct gl_framebuffer *fb); extern void -_mesa_get_framebuffer_attachment_parameter(struct gl_context *ctx, - struct gl_framebuffer *buffer, - GLenum attachment, GLenum pname, - GLint *params, const char *caller); - - -extern void _mesa_bind_framebuffers(struct gl_context *ctx, struct gl_framebuffer *newDrawFb, struct gl_framebuffer *newReadFb); |