From e618761233a07a350e4d4a24e38c8cf69ba9b6d3 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Fri, 5 May 2017 15:02:20 +1000 Subject: [PATCH] mesa: remove _mesa from static framebuffer object function Reviewed-by: Eric Anholt --- src/mesa/main/fbobject.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c index d486d01195f..ad49b0ebca4 100644 --- a/src/mesa/main/fbobject.c +++ b/src/mesa/main/fbobject.c @@ -285,8 +285,8 @@ get_attachment(struct gl_context *ctx, struct gl_framebuffer *fb, * window-system framebuffer (not user-created framebuffer objects). */ static struct gl_renderbuffer_attachment * -_mesa_get_fb0_attachment(struct gl_context *ctx, struct gl_framebuffer *fb, - GLenum attachment) +get_fb0_attachment(struct gl_context *ctx, struct gl_framebuffer *fb, + GLenum attachment) { assert(_mesa_is_winsys_fbo(fb)); @@ -3746,7 +3746,7 @@ _mesa_get_framebuffer_attachment_parameter(struct gl_context *ctx, } /* the default / window-system FBO */ - att = _mesa_get_fb0_attachment(ctx, buffer, attachment); + att = get_fb0_attachment(ctx, buffer, attachment); } else { /* user-created framebuffer FBO */ -- 2.30.2