diff options
author | gman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-19 20:15:31 +0000 |
---|---|---|
committer | gman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-08-19 20:15:31 +0000 |
commit | c0bf3bb695b7b4c2953e6cbfd852eb36310ec4fd (patch) | |
tree | fbc9bef0b3986aa22f2999c6547c906a5d2446b6 /o3d/samples | |
parent | 199fce769b287d7e43356f0f976b7f77cf1ce51c (diff) | |
download | chromium_src-c0bf3bb695b7b4c2953e6cbfd852eb36310ec4fd.zip chromium_src-c0bf3bb695b7b4c2953e6cbfd852eb36310ec4fd.tar.gz chromium_src-c0bf3bb695b7b4c2953e6cbfd852eb36310ec4fd.tar.bz2 |
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
Diffstat (limited to 'o3d/samples')
-rw-r--r-- | o3d/samples/o3djs/io.js | 12 |
1 files changed, 6 insertions, 6 deletions
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); |