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

Unified Diff: samples/render-targets.html

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 | « samples/convolution.html ('k') | samples/shadow-map.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samples/render-targets.html
===================================================================
--- samples/render-targets.html (revision 28938)
+++ samples/render-targets.html (working copy)
@@ -155,7 +155,7 @@
var texture2d = g_pack.createTexture2D(RENDER_TARGET_WIDTH,
RENDER_TARGET_HEIGHT,
g_o3d.Texture.XRGB8, 1, true);
- var renderSurface = texture2d.getRenderSurface(0, g_pack);
+ var renderSurface = texture2d.getRenderSurface(0);
// Create the depth-stencil buffer required when rendering the teapot.
var depthSurface = g_pack.createDepthStencilSurface(RENDER_TARGET_WIDTH,
« no previous file with comments | « samples/convolution.html ('k') | samples/shadow-map.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698