From 90936dfe65685dca74b98698f191f6a1c6eb733a Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 21 Dec 2025 19:14:33 -0500 Subject: [PATCH] Restore eglDestroySurface --- src/native/webgl.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/native/webgl.cc b/src/native/webgl.cc index 11a5fd24..0e030239 100644 --- a/src/native/webgl.cc +++ b/src/native/webgl.cc @@ -416,9 +416,7 @@ void WebGLRenderingContext::dispose() { ACTIVE = NULL; // Destroy surface and context - - // FIXME: This shouldn't be commented out - // eglDestroySurface(DISPLAY, surface); + eglDestroySurface(DISPLAY, surface); eglDestroyContext(DISPLAY, context); }