Remove superfluous glFlush().

PiperOrigin-RevId: 591954599
This commit is contained in:
MediaPipe Team 2023-12-18 11:10:29 -08:00 committed by Copybara-Service
parent e2ea358919
commit 91cfc691e4

View File

@ -105,7 +105,6 @@ absl::Status GpuBufferToImageFrameCalculator::Process(CalculatorContext* cc) {
helper_.GetGlVersion());
glReadPixels(0, 0, src.width(), src.height(), info.gl_format,
info.gl_type, frame->MutablePixelData());
glFlush();
cc->Outputs().Index(0).Add(frame.release(), cc->InputTimestamp());
src.Release();
});