From: Timothy Arceri Date: Thu, 27 Apr 2017 11:07:11 +0000 (+1000) Subject: mesa: remove wip framebuffer code X-Git-Tag: upstream/18.1.0~10437 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2bc06767e11011eb83367868478b4775a8b52003;p=platform%2Fupstream%2Fmesa.git mesa: remove wip framebuffer code This was added in 34b3b40af97d back in 2006. Seems it wasn't needed. Reviewed-by: Samuel Pitoiset --- diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c index 9002020..5069d37 100644 --- a/src/mesa/main/framebuffer.c +++ b/src/mesa/main/framebuffer.c @@ -474,13 +474,6 @@ _mesa_update_framebuffer_visual(struct gl_context *ctx, memset(&fb->Visual, 0, sizeof(fb->Visual)); fb->Visual.rgbMode = GL_TRUE; /* assume this */ -#if 0 /* this _might_ be needed */ - if (fb->_Status != GL_FRAMEBUFFER_COMPLETE_EXT) { - /* leave visual fields zero'd */ - return; - } -#endif - /* find first RGB renderbuffer */ for (i = 0; i < BUFFER_COUNT; i++) { if (fb->Attachment[i].Renderbuffer) {