summaryrefslogtreecommitdiffstats
path: root/o3d/samples
diff options
context:
space:
mode:
authorgman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-21 18:11:06 +0000
committergman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-21 18:11:06 +0000
commit3bb1cd99625369d3aed8bc45215abb80fdab54cd (patch)
treea0bc60f15770c1be945fd49681f8dc4602dbe6ec /o3d/samples
parent219891e8bc41b05c51a81dc40ff1ed340691f2d7 (diff)
downloadchromium_src-3bb1cd99625369d3aed8bc45215abb80fdab54cd.zip
chromium_src-3bb1cd99625369d3aed8bc45215abb80fdab54cd.tar.gz
chromium_src-3bb1cd99625369d3aed8bc45215abb80fdab54cd.tar.bz2
Changes the Windows backbuffer to RGBA mode.
Note: This requires all new sample reference files which are in another CL and that requires a new pdiff which is in yet another CL Review URL: http://codereview.chromium.org/173182 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23983 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/samples')
-rw-r--r--o3d/samples/o3djs/rendergraph.js3
1 files changed, 0 insertions, 3 deletions
diff --git a/o3d/samples/o3djs/rendergraph.js b/o3d/samples/o3djs/rendergraph.js
index 72a1c7c..cea0074 100644
--- a/o3d/samples/o3djs/rendergraph.js
+++ b/o3d/samples/o3djs/rendergraph.js
@@ -282,7 +282,6 @@ o3djs.rendergraph.ViewInfo = function(pack,
opt_performanceDrawList);
var performanceState = performanceDrawPassInfo.state;
- performanceState.getStateParam('ColorWriteEnable').value = 7;
// Setup a z Ordered DrawPass
var zOrderedDrawPassInfo = createDrawPass(
@@ -291,7 +290,6 @@ o3djs.rendergraph.ViewInfo = function(pack,
var zOrderedState = zOrderedDrawPassInfo.state;
- zOrderedState.getStateParam('ColorWriteEnable').value = 7;
zOrderedState.getStateParam('AlphaBlendEnable').value = true;
zOrderedState.getStateParam('SourceBlendFunction').value =
o3djs.base.o3d.State.BLENDFUNC_SOURCE_ALPHA;
@@ -300,7 +298,6 @@ o3djs.rendergraph.ViewInfo = function(pack,
zOrderedState.getStateParam('AlphaTestEnable').value = true;
zOrderedState.getStateParam('AlphaComparisonFunction').value =
o3djs.base.o3d.State.CMP_GREATER;
- zOrderedState.getStateParam('ColorWriteEnable').value = 7;
// Parent whatever the root is to the parent passed in.
if (opt_parent) {