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
cf8833c4
Commit
cf8833c4
authored
Jun 09, 2006
by
Jan Zerebecki
Committed by
Alexandre Julliard
Jun 13, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Enable two sided stencil in the caps.
parent
df3e078b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
directx.c
dlls/wined3d/directx.c
+5
-0
d3d9caps.h
include/d3d9caps.h
+1
-0
d3dcaps.h
include/d3dcaps.h
+1
-0
No files found.
dlls/wined3d/directx.c
View file @
cf8833c4
...
...
@@ -1635,6 +1635,11 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter,
*
pCaps
->
StencilCaps
|=
D3DSTENCILCAPS_DECR
|
D3DSTENCILCAPS_INCR
;
}
if
(
This
->
dxVersion
>
8
&&
(
GL_SUPPORT
(
EXT_STENCIL_TWO_SIDE
)
||
GL_SUPPORT
(
ATI_SEPARATE_STENCIL
)
)
)
{
*
pCaps
->
StencilCaps
|=
D3DSTENCILCAPS_TWOSIDED
;
}
*
pCaps
->
FVFCaps
=
D3DFVFCAPS_PSIZE
|
0x0008
;
/* 8 texture coords */
...
...
include/d3d9caps.h
View file @
cf8833c4
...
...
@@ -187,6 +187,7 @@
#define D3DSTENCILCAPS_INVERT 0x20
#define D3DSTENCILCAPS_INCR 0x40
#define D3DSTENCILCAPS_DECR 0x80
#define D3DSTENCILCAPS_TWOSIDED 0x100
#define D3DTEXOPCAPS_DISABLE 0x0000001
#define D3DTEXOPCAPS_SELECTARG1 0x0000002
...
...
include/d3dcaps.h
View file @
cf8833c4
...
...
@@ -311,6 +311,7 @@ typedef struct _D3DDeviceDesc7 {
#define D3DSTENCILCAPS_INVERT 0x00000020
#define D3DSTENCILCAPS_INCR 0x00000040
#define D3DSTENCILCAPS_DECR 0x00000080
#define D3DSTENCILCAPS_TWOSIDED 0x00000100
#define D3DTEXOPCAPS_DISABLE 0x00000001
#define D3DTEXOPCAPS_SELECTARG1 0x00000002
...
...
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