Skip to content

Commit

Permalink
Add DEPTH_STENCIL to depth-renderable list.
Browse files Browse the repository at this point in the history
In webgl2 3.7.5 Renderbuffer objects:
To be backward compatible with WebGL 1, also accepts internal format
DEPTH_STENCIL, which should be mapped to DEPTH24_STENCIL8 by implementations.
  • Loading branch information
JerryShih committed Jul 28, 2016
1 parent e7a3a97 commit 2432386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/tests/js/tests/gl-object-get-calls.js
Expand Up @@ -772,7 +772,7 @@ if (contextVersion > 1) {
gl.RG32UI, gl.RGB8I, gl.RGB8UI, gl.RGB16I,
gl.RGB16UI, gl.RGB32I, gl.RGB32UI, gl.RGBA8I,
gl.RGBA8UI, gl.RGBA16I, gl.RGBA16UI, gl.RGBA32I,
gl.RGBA32UI, gl.RGB, gl.RGBA, gl.DEPTH_COMPONENT16,
gl.RGBA32UI, gl.RGB, gl.RGBA, gl.DEPTH_STENCIL, gl.DEPTH_COMPONENT16,
gl.DEPTH_COMPONENT24, gl.DEPTH_COMPONENT32F, gl.DEPTH24_STENCIL8,
gl.DEPTH32F_STENCIL8, gl.STENCIL_INDEX8
);
Expand Down

0 comments on commit 2432386

Please sign in to comment.