From ecd1e078bb8529490d9951335ab95e041a40f66c Mon Sep 17 00:00:00 2001 From: Kevin Rushforth Date: Thu, 29 Mar 2007 22:39:59 +0000 Subject: 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 --- src/native/d3d/D3dCtx.hpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/native/d3d/D3dCtx.hpp') 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 -- cgit v1.2.3