Skip to content

Commit

Permalink
Merge pull request #9410 from CedricGuillemet/leaksNative
Browse files Browse the repository at this point in the history
fix leak framebuffer
  • Loading branch information
deltakosh committed Nov 17, 2020
2 parents b1d5ae9 + 4daf857 commit 9388109
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Engines/nativeEngine.ts
Expand Up @@ -1155,7 +1155,10 @@ export class NativeEngine extends Engine {
}

public _releaseFramebufferObjects(texture: InternalTexture): void {
// TODO
if (texture._framebuffer) {
this._native.deleteFramebuffer(texture._framebuffer);
texture._framebuffer = null;
}
}

/**
Expand Down

0 comments on commit 9388109

Please sign in to comment.