Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
6bf561b7
Commit
6bf561b7
authored
Mar 04, 2006
by
Vitaly Budovski
Committed by
Alexandre Julliard
Mar 04, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Implemented fallback for separate stencil function in WINED3DRS_CCW_STENCILFUNC.
parent
7b55a0cf
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
device.c
dlls/wined3d/device.c
+17
-2
No files found.
dlls/wined3d/device.c
View file @
6bf561b7
...
...
@@ -3817,8 +3817,23 @@ HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, D3DRENDE
if
(
GL_EXTCALL
(
glStencilFuncSeparate
))
{
GL_EXTCALL
(
glStencilFuncSeparate
(
GL_BACK
,
func
,
ref
,
mask
));
checkGLcall
(
"glStencilFuncSeparate(GL_BACK,...)"
);
}
else
WARN
(
"Unsupported in local OpenGL implementation: glStencilFuncSeparate
\n
"
);
}
else
if
(
GL_EXTCALL
(
glActiveStencilFaceEXT
))
{
glEnable
(
GL_STENCIL_TEST_TWO_SIDE_EXT
);
checkGLcall
(
"glEnable(GL_STENCIL_TEST_TWO_SIDE_EXT)"
);
GL_EXTCALL
(
glActiveStencilFaceEXT
(
GL_BACK
));
checkGLcall
(
"glActiveStencilFaceEXT(GL_BACK)"
);
glStencilFunc
(
func
,
ref
,
mask
);
checkGLcall
(
"glStencilFunc(...)"
);
}
else
if
(
GL_EXTCALL
(
glStencilFuncSeparateATI
))
{
GL_EXTCALL
(
glStencilFuncSeparateATI
(
GL_BACK
,
func
,
ref
,
mask
));
checkGLcall
(
"glStencilFuncSeparateATI(GL_BACK,...)"
);
}
else
{
TRACE
(
"Separate stencil function not supported on this version of opengl"
);
glStencilFunc
(
func
,
ref
,
mask
);
checkGLcall
(
"glStencilFunc(...)"
);
}
}
else
{
glStencilFunc
(
func
,
ref
,
mask
);
checkGLcall
(
"glStencilFunc(...)"
);
...
...
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