diff options
-rw-r--r-- | o3d/samples/beachdemo/beachdemo.js | 4 | ||||
-rw-r--r-- | o3d/samples/convolution.html | 2 | ||||
-rw-r--r-- | o3d/samples/render-targets.html | 2 | ||||
-rwxr-xr-x | o3d/samples/shadow-map.html | 2 | ||||
-rw-r--r-- | o3d/samples/sobel.html | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/o3d/samples/beachdemo/beachdemo.js b/o3d/samples/beachdemo/beachdemo.js index 54c0edd..7e01b1a 100644 --- a/o3d/samples/beachdemo/beachdemo.js +++ b/o3d/samples/beachdemo/beachdemo.js @@ -1880,12 +1880,12 @@ function setupRenderTargets() { 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); diff --git a/o3d/samples/convolution.html b/o3d/samples/convolution.html index 5994a0c..cada227 100644 --- a/o3d/samples/convolution.html +++ b/o3d/samples/convolution.html @@ -233,7 +233,7 @@ function createConvolutionMaterial(viewInfo, kernelSize) { } function createRenderSurfaceSet(texture) { - var renderSurface = texture.getRenderSurface(0, g_pack); + var renderSurface = texture.getRenderSurface(0); // Create the depth-stencil buffer required when rendering this pass. var depthSurface = g_pack.createDepthStencilSurface(RENDER_TARGET_WIDTH, diff --git a/o3d/samples/render-targets.html b/o3d/samples/render-targets.html index 461ac4c..11abc0b 100644 --- a/o3d/samples/render-targets.html +++ b/o3d/samples/render-targets.html @@ -155,7 +155,7 @@ function initStep2(clientElements) { 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, 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, diff --git a/o3d/samples/sobel.html b/o3d/samples/sobel.html index 90242bc..9f5576b 100644 --- a/o3d/samples/sobel.html +++ b/o3d/samples/sobel.html @@ -182,7 +182,7 @@ function createSobelMaterial(viewInfo, kernelSize) { } function createRenderSurfaceSet(texture) { - var renderSurface = texture.getRenderSurface(0, g_pack); + var renderSurface = texture.getRenderSurface(0); // Create the depth-stencil buffer required when rendering this pass. var depthSurface = g_pack.createDepthStencilSurface(RENDER_TARGET_WIDTH, |