summaryrefslogtreecommitdiffstats
path: root/o3d/samples/shadow-map.html
diff options
context:
space:
mode:
authorgman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-15 00:05:28 +0000
committergman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-10-15 00:05:28 +0000
commit4297f09429c220e8bcd68d7fa493a9ab7aa7ace7 (patch)
tree9b9279ca6e3051c75efcb5168086f38b3f208cfc /o3d/samples/shadow-map.html
parent1288ba0949c899dce33fc6fcc8e212aee704bc48 (diff)
downloadchromium_src-4297f09429c220e8bcd68d7fa493a9ab7aa7ace7.zip
chromium_src-4297f09429c220e8bcd68d7fa493a9ab7aa7ace7.tar.gz
chromium_src-4297f09429c220e8bcd68d7fa493a9ab7aa7ace7.tar.bz2
Remove pack from calls to texture.getRenderSurface
as that has been deprecated. Review URL: http://codereview.chromium.org/274042 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29070 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/samples/shadow-map.html')
-rwxr-xr-xo3d/samples/shadow-map.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/o3d/samples/shadow-map.html b/o3d/samples/shadow-map.html
index cecaeef..0035de6 100755
--- a/o3d/samples/shadow-map.html
+++ b/o3d/samples/shadow-map.html
@@ -168,7 +168,7 @@ function initRenderGraph() {
g_o3d.Texture.ABGR32F,
1,
true);
- var renderSurface = g_shadowTexture.getRenderSurface(0, g_pack);
+ var renderSurface = g_shadowTexture.getRenderSurface(0);
// Create the depth-stencil buffer required when rendering the teapot.
var depthSurface = g_pack.createDepthStencilSurface(SHADOW_MAP_WIDTH,