mesa: return after invalidating renderbuffer
authorMarek Olšák <maraeo@gmail.com>
Mon, 7 Mar 2011 22:33:36 +0000 (23:33 +0100)
committerMarek Olšák <maraeo@gmail.com>
Mon, 7 Mar 2011 22:33:36 +0000 (23:33 +0100)
src/mesa/main/fbobject.c

index be8e9d5fa92e0468c1b67c82bffb7024ee70c826..ffdd0842562f3013610d8f3a2b5182ab646e7447 100644 (file)
@@ -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;
          }
       }
    }