Module: wine Branch: master Commit: e62a4b03526382b365651211c9e1883b58420f8b URL: http://source.winehq.org/git/wine.git/?a=commit;h=e62a4b03526382b365651211c9...
Author: Stefan Dösinger stefan@codeweavers.com Date: Fri Sep 14 11:57:42 2007 +0200
wined3d: Fix a copypaste error.
---
dlls/wined3d/state.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c index 0900243..1fdceaa 100644 --- a/dlls/wined3d/state.c +++ b/dlls/wined3d/state.c @@ -671,7 +671,7 @@ state_stencil(DWORD state, IWineD3DStateBlockImpl *stateblock, WineD3DContext *c if( !( func = CompareFunc(stateblock->renderState[WINED3DRS_STENCILFUNC]) ) ) func = GL_ALWAYS; if( !( func_ccw = CompareFunc(stateblock->renderState[WINED3DRS_CCW_STENCILFUNC]) ) ) - func = GL_ALWAYS; + func_ccw = GL_ALWAYS; ref = stateblock->renderState[WINED3DRS_STENCILREF]; mask = stateblock->renderState[WINED3DRS_STENCILMASK]; stencilFail = StencilOp(stateblock->renderState[WINED3DRS_STENCILFAIL]);