public override void delete(IRenderingEngine re) { if (fboId != -1) { re.deleteFramebuffer(fboId); fboId = -1; } if (depthRenderBufferId != -1) { re.deleteRenderbuffer(depthRenderBufferId); depthRenderBufferId = -1; } base.delete(re); }
public override void delete(IRenderingEngine re) { if (fboId != -1) { re.deleteFramebuffer(fboId); fboId = -1; } if (depthRenderBufferId != -1) { re.deleteRenderbuffer(depthRenderBufferId); depthRenderBufferId = -1; } base.delete(re); }