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
c77b4147
Commit
c77b4147
authored
Jan 04, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 05, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of the WINED3DPATCHEDGESTYLE typedef.
parent
c3cc92e4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
state.c
dlls/wined3d/state.c
+1
-1
stateblock.c
dlls/wined3d/stateblock.c
+1
-1
wined3d.h
include/wine/wined3d.h
+4
-5
No files found.
dlls/wined3d/state.c
View file @
c77b4147
...
...
@@ -1826,7 +1826,7 @@ static void state_multisampmask(struct wined3d_context *context, const struct wi
static
void
state_patchedgestyle
(
struct
wined3d_context
*
context
,
const
struct
wined3d_state
*
state
,
DWORD
state_id
)
{
if
(
state
->
render_states
[
WINED3D_RS_PATCHEDGESTYLE
]
!=
WINED3D
PATCH
EDGE_DISCRETE
)
if
(
state
->
render_states
[
WINED3D_RS_PATCHEDGESTYLE
]
!=
WINED3D
_PATCH_
EDGE_DISCRETE
)
FIXME
(
"WINED3D_RS_PATCHEDGESTYLE %#x not yet implemented.
\n
"
,
state
->
render_states
[
WINED3D_RS_PATCHEDGESTYLE
]);
}
...
...
dlls/wined3d/stateblock.c
View file @
c77b4147
...
...
@@ -1197,7 +1197,7 @@ void stateblock_init_default_state(struct wined3d_stateblock *stateblock)
state
->
render_states
[
WINED3D_RS_POINTSCALE_C
]
=
tmpfloat
.
d
;
state
->
render_states
[
WINED3D_RS_MULTISAMPLEANTIALIAS
]
=
TRUE
;
state
->
render_states
[
WINED3D_RS_MULTISAMPLEMASK
]
=
0xffffffff
;
state
->
render_states
[
WINED3D_RS_PATCHEDGESTYLE
]
=
WINED3D
PATCH
EDGE_DISCRETE
;
state
->
render_states
[
WINED3D_RS_PATCHEDGESTYLE
]
=
WINED3D
_PATCH_
EDGE_DISCRETE
;
tmpfloat
.
f
=
1
.
0
f
;
state
->
render_states
[
WINED3D_RS_PATCHSEGMENTS
]
=
tmpfloat
.
d
;
state
->
render_states
[
WINED3D_RS_DEBUGMONITORTOKEN
]
=
0xbaadcafe
;
...
...
include/wine/wined3d.h
View file @
c77b4147
...
...
@@ -488,12 +488,11 @@ enum wined3d_material_color_source
WINED3D_MCS_COLOR2
=
2
,
};
typedef
enum
_WINED3DPATCHEDGESTYLE
enum
wined3d_patch_edge_style
{
WINED3DPATCHEDGE_DISCRETE
=
0
,
WINED3DPATCHEDGE_CONTINUOUS
=
1
,
WINED3DPATCHEDGE_FORCE_DWORD
=
0x7fffffff
}
WINED3DPATCHEDGESTYLE
;
WINED3D_PATCH_EDGE_DISCRETE
=
0
,
WINED3D_PATCH_EDGE_CONTINUOUS
=
1
,
};
typedef
enum
_WINED3DBACKBUFFER_TYPE
{
...
...
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