Index: tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate |
diff --git a/tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate b/tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate |
index 029a38bc06107b8e8a3c91a6526f429ba90d4dac..cb6f865d2eea224eabd396f8e163661d1b52cd51 100644 |
--- a/tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate |
+++ b/tools/dom/templates/html/impl/impl_WebGLRenderingContext.darttemplate |
@@ -18,7 +18,7 @@ $!MEMBERS |
@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); |
} |
/** |
@@ -63,16 +63,14 @@ $!MEMBERS |
*/ |
@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); |
} |
} |