Index: sdk/lib/web_gl/dart2js/web_gl_dart2js.dart |
diff --git a/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart b/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart |
index 71f2dbbdb43aea1bf8fc70d05480184fbff7d233..4a83a42ef830692b91aa1aba84d88eb47ccaf475 100644 |
--- a/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart |
+++ b/sdk/lib/web_gl/dart2js/web_gl_dart2js.dart |
@@ -3006,7 +3006,7 @@ class RenderingContext extends Interceptor implements CanvasRenderingContext { |
@Deprecated("Use texImage2D") |
void texImage2DUntyped(int targetTexture, int levelOfDetail, |
int internalFormat, int format, int type, data) { |
- texImage2D(targetText, levelOfDetail, internalFormat, format, type, data); |
+ texImage2D(targetTexture, levelOfDetail, internalFormat, format, type, data); |
} |
/** |
@@ -3051,17 +3051,15 @@ class RenderingContext extends Interceptor implements CanvasRenderingContext { |
*/ |
@Deprecated("Use bufferData") |
void bufferDataTyped(int target, TypedData data, int usage) { |
- bufferData2D(targetTexture, levelOfDetail, xOffset, yOffset, |
- format, type, data); |
+ bufferData(target, data, usage); |
} |
/** |
* Set the bufferSubData to [data]. |
*/ |
@Deprecated("Use bufferSubData") |
- void bufferSubDataTyped(int target, TypedData data, int usage) { |
- bufferSubData2D(targetTexture, levelOfDetail, xOffset, yOffset, |
- format, type, data); |
+ void bufferSubDataTyped(int target, int offset, TypedData data) { |
+ bufferSubData(target, offset, data); |
} |
} |
// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |