summaryrefslogtreecommitdiffstats
path: root/o3d
diff options
context:
space:
mode:
authorgman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-25 20:03:25 +0000
committergman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-25 20:03:25 +0000
commit5fe90ea611c57e45d82b1982e600f9d6ca142a98 (patch)
treee4a15761a1e514ca17c2891d3a11185dcf3be7ea /o3d
parent28878af02e5276badc12ae8508daf201c53ad7b6 (diff)
downloadchromium_src-5fe90ea611c57e45d82b1982e600f9d6ca142a98.zip
chromium_src-5fe90ea611c57e45d82b1982e600f9d6ca142a98.tar.gz
chromium_src-5fe90ea611c57e45d82b1982e600f9d6ca142a98.tar.bz2
fix typo
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24294 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d')
-rw-r--r--o3d/samples/fullscreen.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/o3d/samples/fullscreen.html b/o3d/samples/fullscreen.html
index 2014cc9..fdb9bcd 100644
--- a/o3d/samples/fullscreen.html
+++ b/o3d/samples/fullscreen.html
@@ -98,7 +98,7 @@ function createBannerSurfaceAndClickableRegion(clientHeight, viewInfo) {
// Create a 2d plane for images. createPlane makes an XZ plane by default
// so we pass in matrix to rotate it to an XY plane. We could do
// all our manipulations in XZ but most people seem to like XY for 2D.
- g_planeShape = o3djs.primitives.createPlane(
+ var planeShape = o3djs.primitives.createPlane(
g_pack,
material,
1,
@@ -123,7 +123,7 @@ function createBannerSurfaceAndClickableRegion(clientHeight, viewInfo) {
paramSampler.value = sampler;
g_bannerTexture = sampler.texture = texture;
- g_orthoRoot.addShape(g_planeShape);
+ g_orthoRoot.addShape(planeShape);
// Convert to a top-left-corner-based coordinate system from the
// center-based default.