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
2fb21e0a
Commit
2fb21e0a
authored
Nov 23, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Nov 24, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Get rid of the WINED3DTRIPATCH_INFO typedef.
parent
0acd48d8
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
device.c
dlls/d3d8/device.c
+1
-1
device.c
dlls/d3d9/device.c
+1
-1
device.c
dlls/wined3d/device.c
+1
-1
wined3d.h
include/wine/wined3d.h
+7
-7
No files found.
dlls/d3d8/device.c
View file @
2fb21e0a
...
...
@@ -2615,7 +2615,7 @@ static HRESULT WINAPI IDirect3DDevice8Impl_DrawTriPatch(IDirect3DDevice8 *iface,
wined3d_mutex_lock
();
hr
=
wined3d_device_draw_tri_patch
(
This
->
wined3d_device
,
Handle
,
pNumSegs
,
(
const
WINED3DTRIPATCH_INFO
*
)
pTriPatchInfo
);
pNumSegs
,
(
const
struct
wined3d_tri_patch_info
*
)
pTriPatchInfo
);
wined3d_mutex_unlock
();
return
hr
;
...
...
dlls/d3d9/device.c
View file @
2fb21e0a
...
...
@@ -2701,7 +2701,7 @@ static HRESULT WINAPI IDirect3DDevice9Impl_DrawTriPatch(IDirect3DDevice9Ex *ifac
wined3d_mutex_lock
();
hr
=
wined3d_device_draw_tri_patch
(
This
->
wined3d_device
,
Handle
,
pNumSegs
,
(
const
WINED3DTRIPATCH_INFO
*
)
pTriPatchInfo
);
pNumSegs
,
(
const
struct
wined3d_tri_patch_info
*
)
pTriPatchInfo
);
wined3d_mutex_unlock
();
return
hr
;
...
...
dlls/wined3d/device.c
View file @
2fb21e0a
...
...
@@ -4745,7 +4745,7 @@ HRESULT CDECL wined3d_device_draw_rect_patch(struct wined3d_device *device, UINT
}
HRESULT
CDECL
wined3d_device_draw_tri_patch
(
struct
wined3d_device
*
device
,
UINT
handle
,
const
float
*
segment_count
,
const
WINED3DTRIPATCH_INFO
*
patch_info
)
const
float
*
segment_count
,
const
struct
wined3d_tri_patch_info
*
patch_info
)
{
FIXME
(
"device %p, handle %#x, segment_count %p, patch_info %p stub!
\n
"
,
device
,
handle
,
segment_count
,
patch_info
);
...
...
include/wine/wined3d.h
View file @
2fb21e0a
...
...
@@ -1607,13 +1607,13 @@ struct wined3d_rect_patch_info
WINED3DDEGREETYPE
degree
;
};
typedef
struct
_WINED3DTRIPATCH_INFO
struct
wined3d_tri_patch_info
{
UINT
StartVertexO
ffset
;
UINT
NumVertices
;
WINED3DBASISTYPE
B
asis
;
WINED3DDEGREETYPE
D
egree
;
}
WINED3DTRIPATCH_INFO
;
UINT
start_vertex_o
ffset
;
UINT
vertex_count
;
WINED3DBASISTYPE
b
asis
;
WINED3DDEGREETYPE
d
egree
;
};
typedef
struct
_WINED3DADAPTER_IDENTIFIER
{
...
...
@@ -2191,7 +2191,7 @@ HRESULT __cdecl wined3d_device_draw_primitive_up(struct wined3d_device *device,
HRESULT
__cdecl
wined3d_device_draw_rect_patch
(
struct
wined3d_device
*
device
,
UINT
handle
,
const
float
*
num_segs
,
const
struct
wined3d_rect_patch_info
*
rect_patch_info
);
HRESULT
__cdecl
wined3d_device_draw_tri_patch
(
struct
wined3d_device
*
device
,
UINT
handle
,
const
float
*
num_segs
,
const
WINED3DTRIPATCH_INFO
*
tri_patch_info
);
const
float
*
num_segs
,
const
struct
wined3d_tri_patch_info
*
tri_patch_info
);
HRESULT
__cdecl
wined3d_device_end_scene
(
struct
wined3d_device
*
device
);
HRESULT
__cdecl
wined3d_device_end_stateblock
(
struct
wined3d_device
*
device
,
struct
wined3d_stateblock
**
stateblock
);
void
__cdecl
wined3d_device_evict_managed_resources
(
struct
wined3d_device
*
device
);
...
...
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