Index: tests/html/webgl_1_test.dart |
diff --git a/tests/html/webgl_1_test.dart b/tests/html/webgl_1_test.dart |
index 80b70eaad6903fb56881bf117ffeb24ab380521b..f09db72b4d7f6556dfe087ae8e8f847ca4b59295 100644 |
--- a/tests/html/webgl_1_test.dart |
+++ b/tests/html/webgl_1_test.dart |
@@ -59,7 +59,7 @@ main() { |
var canvas = new CanvasElement(); |
var context = canvas.getContext3d(); |
var pixels = new Uint8List.fromList([0,0,3,255,0,0,0,0,0,0]); |
- context.texImage2D(1, 1, 1, 1, 10, 10, 1, 1, pixels); |
+ context.texImage2DUntyped(1, 1, 1, 1, 10, 10, 1, 1, pixels); |
canvas = new CanvasElement(); |
document.body.children.add(canvas); |
@@ -76,7 +76,7 @@ main() { |
var canvas = new CanvasElement(); |
var context = canvas.getContext3d(); |
var pixels = new Uint8List.fromList([0,0,3,255,0,0,0,0,0,0]); |
- context.texSubImage2D(1, 1, 1, 1, 10, 10, 1, 1, pixels); |
+ context.texSubImage2DUntyped(1, 1, 1, 1, 10, 10, 1, 1, pixels); |
canvas = new CanvasElement(); |
document.body.children.add(canvas); |