Skip to content
Merged
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
Next Next commit
Kept getting a error message form core "WARNING: EglCore was not expl…
…icitly released -- state may be leaked", So I modified logic to release it if we have already created EglCore object and are creating a new one
  • Loading branch information
JulianKast committed Apr 11, 2022
commit 3260eac4c73b4e55e5b1b49a051ca8d34fe0dba3
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,9 @@ public void shutDown() {
* @param Height
*/
private void setupGLES(int Width, int Height) {
if (mEglCore != null) {
mEglCore.release();
}
mEglCore = new EglCore(null, 0);

// This 1x1 offscreen is created just to get the texture name (mTextureId).
Expand Down