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
50130fdf
Commit
50130fdf
authored
Oct 31, 2006
by
Ivan Gyurdiev
Committed by
Alexandre Julliard
Oct 31, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add D3DPATCHEDGESTYLE to the WINED3D namespace.
parent
8d7a0196
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
2 deletions
+9
-2
device.c
dlls/wined3d/device.c
+1
-1
stateblock.c
dlls/wined3d/stateblock.c
+1
-1
wined3d_types.h
include/wine/wined3d_types.h
+7
-0
No files found.
dlls/wined3d/device.c
View file @
50130fdf
...
...
@@ -4463,7 +4463,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetRenderState(IWineD3DDevice *iface, W
case
WINED3DRS_PATCHEDGESTYLE
:
{
if
(
D3DPATCHEDGE_DISCRETE
!=
Value
)
if
(
WINE
D3DPATCHEDGE_DISCRETE
!=
Value
)
ERR
(
"(%p)->(%s,%d) not yet implemented
\n
"
,
This
,
debug_d3drenderstate
(
State
),
Value
);
break
;
}
...
...
dlls/wined3d/stateblock.c
View file @
50130fdf
...
...
@@ -925,7 +925,7 @@ static HRESULT WINAPI IWineD3DStateBlockImpl_InitStartupStateBlock(IWineD3DStat
IWineD3DDevice_SetRenderState
(
device
,
WINED3DRS_POINTSCALE_C
,
tmpfloat
.
d
);
IWineD3DDevice_SetRenderState
(
device
,
WINED3DRS_MULTISAMPLEANTIALIAS
,
TRUE
);
IWineD3DDevice_SetRenderState
(
device
,
WINED3DRS_MULTISAMPLEMASK
,
0xFFFFFFFF
);
IWineD3DDevice_SetRenderState
(
device
,
WINED3DRS_PATCHEDGESTYLE
,
D3DPATCHEDGE_DISCRETE
);
IWineD3DDevice_SetRenderState
(
device
,
WINED3DRS_PATCHEDGESTYLE
,
WINE
D3DPATCHEDGE_DISCRETE
);
tmpfloat
.
f
=
1
.
0
f
;
IWineD3DDevice_SetRenderState
(
device
,
WINED3DRS_PATCHSEGMENTS
,
tmpfloat
.
d
);
IWineD3DDevice_SetRenderState
(
device
,
WINED3DRS_DEBUGMONITORTOKEN
,
0xbaadcafe
);
...
...
include/wine/wined3d_types.h
View file @
50130fdf
...
...
@@ -560,6 +560,13 @@ typedef enum _WINED3DMATERIALCOLORSOURCE {
WINED3DMCS_FORCE_DWORD
=
0x7fffffff
}
WINED3DMATERIALCOLORSOURCE
;
typedef
enum
_WINED3DPATCHEDGESTYLE
{
WINED3DPATCHEDGE_DISCRETE
=
0
,
WINED3DPATCHEDGE_CONTINUOUS
=
1
,
WINED3DPATCHEDGE_FORCE_DWORD
=
0x7fffffff
,
}
WINED3DPATCHEDGESTYLE
;
typedef
struct
_WINED3DDISPLAYMODE
{
UINT
Width
;
UINT
Height
;
...
...
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