No public description
PiperOrigin-RevId: 567726262
This commit is contained in:
parent
34cedb980b
commit
9d85141227
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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();
|
||||
}));
|
||||
|
|
Loading…
Reference in New Issue
Block a user