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
6fedd6c0
Commit
6fedd6c0
authored
Aug 04, 2006
by
Roderick Colenbrander
Committed by
Alexandre Julliard
Aug 05, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Primitive misc caps fix.
parent
93f5e0a7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
3 deletions
+20
-3
directx.c
dlls/wined3d/directx.c
+20
-3
No files found.
dlls/wined3d/directx.c
View file @
6fedd6c0
...
...
@@ -1692,13 +1692,30 @@ static HRESULT WINAPI IWineD3DImpl_GetDeviceCaps(IWineD3D *iface, UINT Adapter,
WINED3DDEVCAPS_DRAWPRIMITIVES2
|
WINED3DDEVCAPS_DRAWPRIMITIVES2EX
;
*
pCaps
->
PrimitiveMiscCaps
=
D3DPMISCCAPS_CULLCCW
|
*
pCaps
->
PrimitiveMiscCaps
=
D3DPMISCCAPS_CULLNONE
|
D3DPMISCCAPS_CULLCCW
|
D3DPMISCCAPS_CULLCW
|
D3DPMISCCAPS_COLORWRITEENABLE
|
D3DPMISCCAPS_CLIPTLVERTS
|
D3DPMISCCAPS_CLIPPLANESCALEDPOINTS
|
D3DPMISCCAPS_MASKZ
;
/*NOT: D3DPMISCCAPS_TSSARGTEMP*/
D3DPMISCCAPS_MASKZ
|
D3DPMISCCAPS_BLENDOP
;
/* TODO:
D3DPMISCCAPS_NULLREFERENCE
D3DPMISCCAPS_INDEPENDENTWRITEMASKS
D3DPMISCCAPS_FOGANDSPECULARALPHA
D3DPMISCCAPS_SEPARATEALPHABLEND
D3DPMISCCAPS_MRTINDEPENDENTBITDEPTHS
D3DPMISCCAPS_MRTPOSTPIXELSHADERBLENDING
D3DPMISCCAPS_FOGVERTEXCLAMPED */
/* The caps below can be supported but aren't handled yet in utils.c 'd3dta_to_combiner_input', disable them until support is fixed */
#if 0
if (GL_SUPPORT(NV_REGISTER_COMBINERS))
*pCaps->PrimitiveMiscCaps |= D3DPMISCCAPS_TSSARGTEMP;
if (GL_SUPPORT(NV_REGISTER_COMBINERS2))
*pCaps->PrimitiveMiscCaps |= D3DPMISCCAPS_PERSTAGECONSTANT;
#endif
*
pCaps
->
RasterCaps
=
WINED3DPRASTERCAPS_DITHER
|
WINED3DPRASTERCAPS_PAT
|
...
...
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