diff --git a/sdk/tests/conformance/rendering/blending.html b/sdk/tests/conformance/rendering/blending.html index b14705cd50..9e68aa2650 100644 --- a/sdk/tests/conformance/rendering/blending.html +++ b/sdk/tests/conformance/rendering/blending.html @@ -146,7 +146,8 @@ debug('Blending for RGBA8:'); const gl = CreateContext(); - fb = CreateValidFb(gl, [[gl.RGBA8, gl.RGBA, gl.UNSIGNED_BYTE]]); + // Do not use RGBA8 enum on WebGL 1.0 + fb = CreateValidFb(gl, [[gl.texImage3D ? gl.RGBA8 : undefined, gl.RGBA, gl.UNSIGNED_BYTE]]); shouldBeNonNull('fb'); // Regardless of the context version and enabled extensions,