提交 899c55a0 编写于 作者: Z zleoyu

修改用例WebGLContextAttributes alpha

Signed-off-by: Nzleoyu <zhangleiyu1@huawei.com>
Change-Id: Iaa46b1625cab8f59885688fec3978f36cf4f456b
上级 2afa2ec4
...@@ -300,7 +300,7 @@ describe('webgl1Test1', function() { ...@@ -300,7 +300,7 @@ describe('webgl1Test1', function() {
it('webgl_test_getContextAttributes', 0, async function(done) { it('webgl_test_getContextAttributes', 0, async function(done) {
console.info("webgltest into getContextAttributes"); console.info("webgltest into getContextAttributes");
const getContextAttributesValue = gl.getContextAttributes(); const getContextAttributesValue = gl.getContextAttributes();
const alphaValue = getContextAttributesValue.alpha(); const alphaValue = getContextAttributesValue.alpha;
console.info("webgltest getContextAttributes: " + getContextAttributesValue); console.info("webgltest getContextAttributes: " + getContextAttributesValue);
expect(typeof(getContextAttributesValue)).assertEqual("object" || null); expect(typeof(getContextAttributesValue)).assertEqual("object" || null);
done(); done();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册