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

Author: Marek Olšák <mar...@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;
          }
       }
    }

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to