OSDN Git Service

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 be8e9d5..ffdd084 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;
          }
       }
    }