No public description

PiperOrigin-RevId: 567726262
This commit is contained in:
Chris McClanahan 2023-09-22 15:04:15 -07:00 committed by Copybara-Service
parent 34cedb980b
commit 9d85141227
2 changed files with 2 additions and 0 deletions

View File

@ -304,6 +304,7 @@ class GlProcessor : public ImageToTensorConverter {
glBindTexture(GL_TEXTURE_2D, 0);
glActiveTexture(GL_TEXTURE0);
glBindTexture(GL_TEXTURE_2D, 0);
glFlush();
return absl::OkStatus();
}

View File

@ -406,6 +406,7 @@ absl::Status TensorConverterCalculator::ProcessGPU(CalculatorContext* cc) {
glActiveTexture(GL_TEXTURE1);
glBindTexture(GL_TEXTURE_2D, 0);
#endif // MEDIAPIPE_OPENGL_ES_VERSION >= MEDIAPIPE_OPENGL_ES_31
glFlush();
src.Release();
return absl::OkStatus();
}));