From c0bf3bb695b7b4c2953e6cbfd852eb36310ec4fd Mon Sep 17 00:00:00 2001 From: "gman@google.com" Date: Wed, 19 Aug 2009 20:15:31 +0000 Subject: Remove references to pack.createTextureFromRawData as it has been deprecated. Review URL: http://codereview.chromium.org/173071 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23727 0039d316-1c4b-4281-b951-d872f2087c98 --- o3d/samples/o3djs/io.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'o3d/samples') diff --git a/o3d/samples/o3djs/io.js b/o3d/samples/o3djs/io.js index f575eff..9d8f302 100644 --- a/o3d/samples/o3djs/io.js +++ b/o3d/samples/o3djs/io.js @@ -326,12 +326,12 @@ o3djs.io.loadTextFile = function(url, callback) { * * function callback(archiveInfo, exception) { * if (!exception) { - * pack.createTextureFromRawData( - * archiveInfo.getFileByURI('logo.jpg'), true); - * pack.createTextureFromRawData( - * archiveInfo.getFileByURI('wood/oak.png'), true); - * pack.createTextureFromRawData( - * archiveInfo.getFileByURI('wood/maple.dds'), true); + * o3djs.texture.createTextureFromRawData( + * pack, archiveInfo.getFileByURI('logo.jpg'), true); + * o3djs.texture.createTextureFromRawData( + * pack, archiveInfo.getFileByURI('wood/oak.png'), true); + * o3djs.texture.createTextureFromRawData( + * pack, archiveInfo.getFileByURI('wood/maple.dds'), true); * archiveInfo.destroy(); * } else { * alert(exception); -- cgit v1.1