am 340ccfe0: Merge "glFinish to flush deletes" into lmp-dev

* commit '340ccfe0fc65803b56d68c2b067a5198c14d0f6f':
  glFinish to flush deletes
diff --git a/libs/hwui/Caches.cpp b/libs/hwui/Caches.cpp
index 9b0025f..f0bf7b2 100644
--- a/libs/hwui/Caches.cpp
+++ b/libs/hwui/Caches.cpp
@@ -377,6 +377,7 @@
     }
 
     clearGarbage();
+    glFinish();
 }
 
 ///////////////////////////////////////////////////////////////////////////////