diff options
author | Brian Paul <[email protected]> | 2015-09-21 09:03:45 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2015-09-22 10:15:32 -0600 |
commit | 4a03066e5a23058d8cf5a3c34b889ec484c36034 (patch) | |
tree | cdb0b2070203ea9ab20ec3e8a04160b2bdc8e592 | |
parent | b590ffd0f95bfe5ff7d44412e4916bba40630be9 (diff) |
st/mesa: remove st_bind_framebuffer()
The function was a no-op and if the ctx->Driver.BindFramebuffer pointer
is null, Mesa won't try to use it.
Reviewed-by: Matt Turner <[email protected]>
-rw-r--r-- | src/mesa/state_tracker/st_cb_fbo.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mesa/state_tracker/st_cb_fbo.c b/src/mesa/state_tracker/st_cb_fbo.c index 57075904450..9d06a232bfa 100644 --- a/src/mesa/state_tracker/st_cb_fbo.c +++ b/src/mesa/state_tracker/st_cb_fbo.c @@ -388,17 +388,6 @@ st_new_renderbuffer_fb(enum pipe_format format, int samples, boolean sw) /** - * Called via ctx->Driver.BindFramebufferEXT(). - */ -static void -st_bind_framebuffer(struct gl_context *ctx, GLenum target, - struct gl_framebuffer *fb, struct gl_framebuffer *fbread) -{ - /* no-op */ -} - - -/** * Create or update the pipe_surface of a FBO renderbuffer. * This is usually called after st_finalize_texture. */ @@ -839,7 +828,6 @@ void st_init_fbo_functions(struct dd_function_table *functions) { functions->NewFramebuffer = st_new_framebuffer; functions->NewRenderbuffer = st_new_renderbuffer; - functions->BindFramebuffer = st_bind_framebuffer; functions->FramebufferRenderbuffer = _mesa_FramebufferRenderbuffer_sw; functions->RenderTexture = st_render_texture; functions->FinishRenderTexture = st_finish_render_texture; |