Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Add mEglCore release and set it to null in shutdown of VDE. And rever…
…t change in Texture2dProgram
  • Loading branch information
JulianKast committed Apr 11, 2022
commit eea49e9854cefde3c4c2a8f95055410f6867640f
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public Texture2dProgram(ProgramType programType) {
if (mProgramHandle == 0) {
throw new RuntimeException("Unable to create program");
}
Log.i(TAG,"Created program " + mProgramHandle + " (" + programType + ")");
Log.e(TAG,"Created program " + mProgramHandle + " (" + programType + ")");

// get locations of attributes and uniforms

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,10 @@ public void shutDown() {
inputSurface.release();
inputSurface = null;
}
if (mEglCore != null) {
mEglCore.release();
mEglCore = null;
}
} catch (Exception ex) {
DebugTool.logError(TAG, "shutDown() failed");
}
Expand Down