From 2bc06767e11011eb83367868478b4775a8b52003 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Thu, 27 Apr 2017 21:07:11 +1000 Subject: mesa: remove wip framebuffer code This was added in 34b3b40af97d back in 2006. Seems it wasn't needed. Reviewed-by: Samuel Pitoiset --- src/mesa/main/framebuffer.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/mesa') diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c index 9002020b7a7..5069d373948 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) { -- cgit v1.2.3