Create depth and stencil attachments for XRWebGLLayer

This commit is contained in:
Alan Jeffrey 2019-08-28 19:20:15 -05:00
parent b6cf6c0450
commit a0cb841d2a
2 changed files with 46 additions and 4 deletions

View file

@ -1102,6 +1102,10 @@ impl WebGLRenderingContext {
self.bound_framebuffer.get()
}
pub fn bound_renderbuffer(&self) -> Option<DomRoot<WebGLRenderbuffer>> {
self.bound_renderbuffer.get()
}
pub fn extension_manager(&self) -> &WebGLExtensions {
&self.extension_manager
}