From 1735e892e0dbf6b4c70138fa78b373fc7fb347f7 Mon Sep 17 00:00:00 2001 From: Dean Jackson Date: Fri, 22 May 2020 10:45:53 +1000 Subject: [PATCH] PVRTC tests call non-existent helper function (#3079) Replace drawQuad with clearAndDrawUnitQuad. --- .../conformance/extensions/webgl-compressed-texture-pvrtc.html | 2 +- .../conformance/extensions/webgl-compressed-texture-pvrtc.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conformance-suites/1.0.3/conformance/extensions/webgl-compressed-texture-pvrtc.html b/conformance-suites/1.0.3/conformance/extensions/webgl-compressed-texture-pvrtc.html index 3271508104..02c88d5d5c 100644 --- a/conformance-suites/1.0.3/conformance/extensions/webgl-compressed-texture-pvrtc.html +++ b/conformance-suites/1.0.3/conformance/extensions/webgl-compressed-texture-pvrtc.html @@ -271,7 +271,7 @@ wtu.glErrorShouldBe(gl, gl.NO_ERROR, "uploading compressed texture"); gl.generateMipmap(gl.TEXTURE_2D); wtu.glErrorShouldBe(gl, gl.INVALID_OPERATION, "trying to generate mipmaps from compressed texture"); - wtu.drawQuad(gl); + wtu.clearAndDrawUnitQuad(gl); compareRect(width, height, test.channels, width, height, uncompressedData, data, format); gl.compressedTexImage2D(gl.TEXTURE_2D, 0, format, width, height, 1, data); diff --git a/conformance-suites/2.0.0/conformance/extensions/webgl-compressed-texture-pvrtc.html b/conformance-suites/2.0.0/conformance/extensions/webgl-compressed-texture-pvrtc.html index bae1af67d1..2a14f68a77 100644 --- a/conformance-suites/2.0.0/conformance/extensions/webgl-compressed-texture-pvrtc.html +++ b/conformance-suites/2.0.0/conformance/extensions/webgl-compressed-texture-pvrtc.html @@ -273,7 +273,7 @@ wtu.glErrorShouldBe(gl, gl.NO_ERROR, "uploading compressed texture"); gl.generateMipmap(gl.TEXTURE_2D); wtu.glErrorShouldBe(gl, gl.INVALID_OPERATION, "trying to generate mipmaps from compressed texture"); - wtu.drawQuad(gl); + wtu.clearAndDrawUnitQuad(gl); compareRect(width, height, test.channels, width, height, uncompressedData, data, format, undefined, "NEAREST"); // Test again with linear filtering. gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR);