Skip to content

Commit 12c363b

Browse files
argtoastardhritzkiv
authored andcommitted
Restore eglDestroySurface
1 parent 2929a69 commit 12c363b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/native/webgl.cc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,7 @@ void WebGLRenderingContext::dispose() {
416416
ACTIVE = NULL;
417417

418418
// Destroy surface and context
419-
420-
// FIXME: This shouldn't be commented out
421-
// eglDestroySurface(DISPLAY, surface);
419+
eglDestroySurface(DISPLAY, surface);
422420
eglDestroyContext(DISPLAY, context);
423421
}
424422

0 commit comments

Comments
 (0)