Skip to content

Commit

Permalink
Fix object-deletion-behaviour-2 to create WebGL 2.0 context. (Khronos…
Browse files Browse the repository at this point in the history
…Group#3125)

The 2.0.0 snapshot of this test was incorrectly creating a WebGL 1.0
context.
  • Loading branch information
kenrussell authored Jul 27, 2020
1 parent 803227b commit 07a7dcc
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,8 @@
description("Tests deletion behavior for WebGL2 buffer, sampler, vertexArray and transformFeedback objects.");

var wtu = WebGLTestUtils;
var gl = wtu.create3DContext();
var gl = wtu.create3DContext(undefined, undefined, 2);
var shouldGenerateGLError = wtu.shouldGenerateGLError;
var contextVersion = wtu.getDefault3DContextVersion();

debug("");
debug("buffer deletion");
Expand Down

0 comments on commit 07a7dcc

Please sign in to comment.