mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Create depth and stencil attachments for XRWebGLLayer
This commit is contained in:
parent
b6cf6c0450
commit
a0cb841d2a
2 changed files with 46 additions and 4 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue