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

Skip to content
Commit 4f74d39d authored by Jan Sebechlebsky's avatar Jan Sebechlebsky
Browse files

Properly dispose of EGL resources

Context and Surface should be destroyed before terminating display.
Call to eglTerminate caused bad memory access (bug in egl implementation),
and shouldn't be necessary so this cl removes that.

Also explicitly release vertex arrays in EglProgram.

Bug: 346736633
Test: atest virtual_camera_tests CtsVirtualDevicesCameraTestCases CtsVirtualDevicesCameraCtsTestCases
Change-Id: Ie5a2555391817de3a5446e25e50c9d85cf32cb65
parent 369b5e6f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment