From 899c55a084ae7371fa76f0806f85e6f554e20932 Mon Sep 17 00:00:00 2001 From: zleoyu Date: Thu, 7 Jul 2022 10:40:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=94=A8=E4=BE=8BWebGLContex?= =?UTF-8?q?tAttributes=20alpha?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zleoyu Change-Id: Iaa46b1625cab8f59885688fec3978f36cf4f456b --- graphic/webGL/src/main/js/default/test/WebGL.test01.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphic/webGL/src/main/js/default/test/WebGL.test01.js b/graphic/webGL/src/main/js/default/test/WebGL.test01.js index 63b64ea6e..ba39975d6 100644 --- a/graphic/webGL/src/main/js/default/test/WebGL.test01.js +++ b/graphic/webGL/src/main/js/default/test/WebGL.test01.js @@ -300,7 +300,7 @@ describe('webgl1Test1', function() { it('webgl_test_getContextAttributes', 0, async function(done) { console.info("webgltest into getContextAttributes"); const getContextAttributesValue = gl.getContextAttributes(); - const alphaValue = getContextAttributesValue.alpha(); + const alphaValue = getContextAttributesValue.alpha; console.info("webgltest getContextAttributes: " + getContextAttributesValue); expect(typeof(getContextAttributesValue)).assertEqual("object" || null); done(); -- GitLab