Mesa (master): mesa: remove wip framebuffer code

Timothy Arceri tarceri at kemper.freedesktop.org
Fri Apr 28 00:20:16 UTC 2017


Module: Mesa
Branch: master
Commit: 2bc06767e11011eb83367868478b4775a8b52003
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=2bc06767e11011eb83367868478b4775a8b52003

Author: Timothy Arceri <tarceri at itsqueeze.com>
Date:   Thu Apr 27 21:07:11 2017 +1000

mesa: remove wip framebuffer code

This was added in 34b3b40af97d back in 2006. Seems it wasn't
needed.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>

---

 src/mesa/main/framebuffer.c | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/src/mesa/main/framebuffer.c b/src/mesa/main/framebuffer.c
index 9002020b7a..5069d37394 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) {




More information about the mesa-commit mailing list