vrend: remove pointless GL_FRAMEBUFFER update

In the only codepath that leads here, this exact binding has already
been made, so let's avoid double-work.

This one makes sense on it's own.

Signed-off-by: Dave Airlie <airlied@redhat.com>
macos/master
Erik Faye-Lund 6 years ago committed by Dave Airlie
parent 523796808a
commit faef0bf40f
  1. 1
      src/vrend_renderer.c

@ -2033,7 +2033,6 @@ static void vrend_hw_emit_framebuffer_state(struct vrend_context *ctx)
GL_COLOR_ATTACHMENT6,
GL_COLOR_ATTACHMENT7,
};
glBindFramebuffer(GL_FRAMEBUFFER, ctx->sub->fb_id);
if (ctx->sub->nr_cbufs == 0) {
glReadBuffer(GL_NONE);

Loading…
Cancel
Save