In TypeScript 4.3, WebGLObject was dropped from lib.dom.d.ts.
This commit replaces uses of WebGLObject with WebGLRenderbuffer|WebGLTexture.
Based on reading TWGL's createFramebufferInfo(...) these two are the
only possible object types for attachments in FramebufferInfo.
In TypeScript 4.3,
WebGLObject
was dropped fromlib.dom.d.ts
. This commit replaces uses ofWebGLObject
withWebGLRenderbuffer|WebGLTexture
. Based on reading TWGL'screateFramebufferInfo(...)
these two are the only possible object types for attachments inFramebufferInfo
.Relevant TypeScript changes: Justification for removal of
WebGLObject
Removal ofWebGLObject