From 43f4003f8ea60f8ee52f6e6b8b1d90b457c705ce Mon Sep 17 00:00:00 2001 From: Christopher Cameron Date: Wed, 20 Sep 2023 20:50:20 +0200 Subject: [PATCH] Fix lint errors --- .../conformance/canvas/drawingbuffer-storage-test.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conformance-suites/2.0.0/conformance/canvas/drawingbuffer-storage-test.html b/conformance-suites/2.0.0/conformance/canvas/drawingbuffer-storage-test.html index 7a2272b49..00afb90ca 100644 --- a/conformance-suites/2.0.0/conformance/canvas/drawingbuffer-storage-test.html +++ b/conformance-suites/2.0.0/conformance/canvas/drawingbuffer-storage-test.html @@ -234,17 +234,17 @@ gl.drawingBufferStorage(f, 16, 16); gl.clearColor(clearColor[0], clearColor[1], clearColor[2], clearColor[3]); gl.clear(gl.COLOR_BUFFER_BIT); - + ctx.putImageData(imageData, 0, 0); ctx.drawImage(canvasGL, 0, 0); testPixel(canvasColor, ctx.getImageData(8, 8, 1, 1).data, tolerance); } - + debug('Drawing RGBA to canvas'); testCase(gl.RGBA8, [16/255, 32/255, 64/255, 64/255], [64, 128, 255, 64], 0); debug('Drawing opaque SRGB8_ALPHA8 to canvas'); - testCase(gl.SRGB8_ALPHA8, + testCase(gl.SRGB8_ALPHA8, [srgbToLinear(64/255), srgbToLinear(32/255), srgbToLinear(16/255), 1.0], [64, 32, 16, 255], 1);