Skip to content

Commit

Permalink
Fix integer-cubemap-specification-order-bug.html in 2.0.0 snapshot. (K…
Browse files Browse the repository at this point in the history
…hronosGroup#3127)

Incorporate fix from KhronosGroup#2327, which never made it into the 2.0.0
snapshot. This test was substantially rewritten on top-of-tree in KhronosGroup#2806.
  • Loading branch information
kenrussell authored Jul 27, 2020
1 parent 444d2fa commit 3f6b053
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
gl.texImage2D(face + gl.TEXTURE_CUBE_MAP_POSITIVE_X, level, gl.RG8I, levelSize, levelSize, 0, gl.RG_INTEGER, gl.BYTE, new Int8Array(backingBuffer));
});

gl.texParameteri(gl.TEXTURE_CUBE_MAP, gl.TEXTURE_MIN_FILTER, gl.NEAREST_MIPMAP_LINEAR);
gl.texParameteri(gl.TEXTURE_CUBE_MAP, gl.TEXTURE_MIN_FILTER, gl.NEAREST_MIPMAP_NEAREST);
gl.texParameteri(gl.TEXTURE_CUBE_MAP, gl.TEXTURE_MAG_FILTER, gl.NEAREST);
gl.texParameteri(gl.TEXTURE_CUBE_MAP, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE);
gl.texParameteri(gl.TEXTURE_CUBE_MAP, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE);
Expand Down

0 comments on commit 3f6b053

Please sign in to comment.