diff options
author | Kevin Rushforth <[email protected]> | 2007-03-29 22:39:59 +0000 |
---|---|---|
committer | Kevin Rushforth <[email protected]> | 2007-03-29 22:39:59 +0000 |
commit | ecd1e078bb8529490d9951335ab95e041a40f66c (patch) | |
tree | 8da42160266cb3a4731e881c5af5364a51ac8fd3 /src/native/d3d/D3dCtx.hpp | |
parent | bb5331e867166954565f09ebfae6e9ef8e7d91f3 (diff) |
Issue 239: Stencil buffer should be cleared at the start of each frame
Note that the D3D code may still need to save/restore the stencil write
mask and enable flag.
git-svn-id: https://svn.java.net/svn/j3d-core~svn/trunk@804 ba19aa83-45c5-6ac9-afd3-db810772062c
Diffstat (limited to 'src/native/d3d/D3dCtx.hpp')
-rw-r--r-- | src/native/d3d/D3dCtx.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/native/d3d/D3dCtx.hpp b/src/native/d3d/D3dCtx.hpp index 4365119..96aea9f 100644 --- a/src/native/d3d/D3dCtx.hpp +++ b/src/native/d3d/D3dCtx.hpp @@ -137,6 +137,10 @@ public: DWORD softwareVertexProcessing; DWORD zWriteEnable; DWORD zEnable; + +// TODO ACES: The following two stencil enable flags are not used +// consistently throughout the pipeline. They are never set to a value, +// and they are not looked at by most of the code. DWORD stencilWriteEnable; // new on 1.4 DWORD stencilEnable; // new on 1.4 |