Remove superfluous glFlush().
PiperOrigin-RevId: 591954599
This commit is contained in:
parent
e2ea358919
commit
91cfc691e4
|
@ -105,7 +105,6 @@ absl::Status GpuBufferToImageFrameCalculator::Process(CalculatorContext* cc) {
|
||||||
helper_.GetGlVersion());
|
helper_.GetGlVersion());
|
||||||
glReadPixels(0, 0, src.width(), src.height(), info.gl_format,
|
glReadPixels(0, 0, src.width(), src.height(), info.gl_format,
|
||||||
info.gl_type, frame->MutablePixelData());
|
info.gl_type, frame->MutablePixelData());
|
||||||
glFlush();
|
|
||||||
cc->Outputs().Index(0).Add(frame.release(), cc->InputTimestamp());
|
cc->Outputs().Index(0).Add(frame.release(), cc->InputTimestamp());
|
||||||
src.Release();
|
src.Release();
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue
Block a user