Index: sdk/lib/web_gl/dartium/web_gl_dartium.dart |
diff --git a/sdk/lib/web_gl/dartium/web_gl_dartium.dart b/sdk/lib/web_gl/dartium/web_gl_dartium.dart |
index 31ad9e4c4ca8b33faa23c01f7c5fc40a52ab7ddb..a82b5f6a8144dcc1adaa5b93b50a68d9ad10c869 100644 |
--- a/sdk/lib/web_gl/dartium/web_gl_dartium.dart |
+++ b/sdk/lib/web_gl/dartium/web_gl_dartium.dart |
@@ -3379,7 +3379,7 @@ class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte |
@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); |
} |
/** |
@@ -3424,17 +3424,15 @@ class RenderingContext extends DartHtmlDomObject implements CanvasRenderingConte |
*/ |
@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 |