Mesa (7.10): mesa: return after invalidating renderbuffer

Marek Olšák mareko at kemper.freedesktop.org
Sun Jun 12 04:18:38 UTC 2011


Module: Mesa
Branch: 7.10
Commit: b0625f848682816e65eaf427e85fc052fc873bff
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=b0625f848682816e65eaf427e85fc052fc873bff

Author: Marek Olšák <maraeo at gmail.com>
Date:   Mon Mar  7 23:33:36 2011 +0100

mesa: return after invalidating renderbuffer
(cherry picked from commit a674ef7814ea16622b6002009ffe27a55cb500bf)

---

 src/mesa/main/fbobject.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/mesa/main/fbobject.c b/src/mesa/main/fbobject.c
index 0f946a1..e5fa1bf 100644
--- a/src/mesa/main/fbobject.c
+++ b/src/mesa/main/fbobject.c
@@ -1042,6 +1042,7 @@ invalidate_rb(GLuint key, void *data, void *userData)
              att->Renderbuffer == rb) {
             /* Mark fb status as indeterminate to force re-validation */
             fb->_Status = 0;
+            return;
          }
       }
    }




More information about the mesa-commit mailing list