Spot the deliberate mistake... Changelog Ensure I fill in the stencilfunc so I can query it later! Jason
--- dlls/d3d8/device.dx40 2003-05-24 17:37:33.000000000 +0100 +++ dlls/d3d8/device.c 2003-05-24 22:27:21.000000000 +0100 @@ -3343,6 +3343,7 @@ FIXME("Unrecognized/Unhandled D3DCMPFUNC value %ld\n", Value); } TRACE("glStencilFunc with Parm=%x, ref=%d, mask=%x\n", glParm, ref, mask); + This->stencilfunc = glParm; glStencilFunc(glParm, ref, mask); checkGLcall("glStencilFunc"); }