Mesa (master): mesa: return after invalidating renderbuffer

Marek Olšák mareko at kemper.freedesktop.org
Mon Mar 7 22:34:59 UTC 2011


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

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

mesa: return after invalidating renderbuffer

---

 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 be8e9d5..ffdd084 100644
--- a/src/mesa/main/fbobject.c
+++ b/src/mesa/main/fbobject.c
@@ -1134,6 +1134,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