Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ee5a9300 authored by Ján Sebechlebský's avatar Ján Sebechlebský Committed by Android (Google) Code Review
Browse files

Merge "Release all EGL utilities on rendering thread with EGL Context." into main

parents da01ccc0 06b3667c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -398,6 +398,12 @@ void VirtualCameraRenderThread::threadLoop() {
    processCaptureRequest(*task);
  }

  // Destroy EGL utilities still on the render thread.
  mEglSurfaceTexture.reset();
  mEglTextureRgbProgram.reset();
  mEglTextureYuvProgram.reset();
  mEglDisplayContext.reset();

  ALOGV("Render thread exiting");
}