Index: ui/gl/gl_surface_ozone.cc |
diff --git a/ui/gl/gl_surface_ozone.cc b/ui/gl/gl_surface_ozone.cc |
index 333290f91acbe6006ba3002ceae74627d44bb4fb..67ab131b7a8c261905ca7fe5bc0a5aef855e2adb 100644 |
--- a/ui/gl/gl_surface_ozone.cc |
+++ b/ui/gl/gl_surface_ozone.cc |
@@ -123,7 +123,7 @@ class GL_EXPORT GLSurfaceOzoneSurfaceless : public SurfacelessEGL { |
} |
virtual bool SwapBuffers() override { |
// TODO: this should be replaced by a fence when supported by the driver. |
- glFinish(); |
+ glFlush(); |
return ozone_surface_->OnSwapBuffers(); |
} |
virtual bool ScheduleOverlayPlane(int z_order, |