Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
ad3fe856
Commit
ad3fe856
authored
Sep 14, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Sep 19, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Enable the stencil test if two sided stencil is used.
parent
e62a4b03
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
state.c
dlls/wined3d/state.c
+4
-1
No files found.
dlls/wined3d/state.c
View file @
ad3fe856
...
...
@@ -688,7 +688,10 @@ state_stencil(DWORD state, IWineD3DStateBlockImpl *stateblock, WineD3DContext *c
func
,
stencilFail
,
depthFail
,
stencilPass
,
func_ccw
,
stencilFail_ccw
,
depthFail_ccw
,
stencilPass_ccw
);
if
(
twosided_enable
)
{
if
(
twosided_enable
&&
onesided_enable
)
{
glEnable
(
GL_STENCIL_TEST
);
checkGLcall
(
"glEnable GL_STENCIL_TEST"
);
renderstate_stencil_twosided
(
stateblock
,
GL_FRONT
,
func
,
ref
,
mask
,
stencilFail
,
depthFail
,
stencilPass
);
renderstate_stencil_twosided
(
stateblock
,
GL_BACK
,
func_ccw
,
ref
,
mask
,
stencilFail_ccw
,
depthFail_ccw
,
stencilPass_ccw
);
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment