mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Support WebGL2 contexts in XRWebGLLayer.
This commit is contained in:
parent
2128bf1e05
commit
c002a29582
3 changed files with 54 additions and 17 deletions
|
@ -4,10 +4,8 @@
|
|||
|
||||
// https://immersive-web.github.io/webxr/#xrwebgllayer-interface
|
||||
|
||||
// typedef (WebGLRenderingContext or
|
||||
// WebGL2RenderingContext) XRWebGLRenderingContext;
|
||||
|
||||
typedef WebGLRenderingContext XRWebGLRenderingContext;
|
||||
typedef (WebGLRenderingContext or
|
||||
WebGL2RenderingContext) XRWebGLRenderingContext;
|
||||
|
||||
dictionary XRWebGLLayerInit {
|
||||
boolean antialias = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue