Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Unified Diff: samples/beachdemo/beachdemo.js

Issue 274042: Remove pack from calls to texture.getRenderSurface... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | samples/convolution.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/beachdemo/beachdemo.js
===================================================================
--- samples/beachdemo/beachdemo.js (revision 28938)
+++ samples/beachdemo/beachdemo.js (working copy)
@@ -1880,12 +1880,12 @@
g_renderTargetHeight,
g_o3d.Texture.ARGB8, 1,
true);
- var reflectionSurface = g_reflectionTexture.getRenderSurface(0, g_mainPack);
+ var reflectionSurface = g_reflectionTexture.getRenderSurface(0);
g_refractionTexture = g_mainPack.createTexture2D(g_renderTargetWidth,
g_renderTargetHeight,
g_o3d.Texture.XRGB8, 1,
true);
- var refractionSurface = g_refractionTexture.getRenderSurface(0, g_mainPack);
+ var refractionSurface = g_refractionTexture.getRenderSurface(0);
g_depthSurface = g_mainPack.createDepthStencilSurface(g_renderTargetWidth,
g_renderTargetHeight);
« no previous file with comments | « no previous file | samples/convolution.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698