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
9e3ef4ab
Commit
9e3ef4ab
authored
Jan 02, 2014
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jan 02, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36/tests: Fix calling convention specification.
Msvc wants __stdcall after the type, otherwise it generates an error.
parent
aa2baf8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
mesh.c
dlls/d3dx9_36/tests/mesh.c
+4
-4
No files found.
dlls/d3dx9_36/tests/mesh.c
View file @
9e3ef4ab
...
@@ -1785,7 +1785,7 @@ static char *strdupA(const char *p)
...
@@ -1785,7 +1785,7 @@ static char *strdupA(const char *p)
return
ret
;
return
ret
;
}
}
static
CALLBACK
HRESULT
ID3DXAllocateHierarchyImpl_DestroyFrame
(
ID3DXAllocateHierarchy
*
iface
,
LPD3DXFRAME
frame
)
static
HRESULT
CALLBACK
ID3DXAllocateHierarchyImpl_DestroyFrame
(
ID3DXAllocateHierarchy
*
iface
,
LPD3DXFRAME
frame
)
{
{
TRACECALLBACK
(
"ID3DXAllocateHierarchyImpl_DestroyFrame(%p, %p)
\n
"
,
iface
,
frame
);
TRACECALLBACK
(
"ID3DXAllocateHierarchyImpl_DestroyFrame(%p, %p)
\n
"
,
iface
,
frame
);
if
(
frame
)
{
if
(
frame
)
{
...
@@ -1795,7 +1795,7 @@ static CALLBACK HRESULT ID3DXAllocateHierarchyImpl_DestroyFrame(ID3DXAllocateHie
...
@@ -1795,7 +1795,7 @@ static CALLBACK HRESULT ID3DXAllocateHierarchyImpl_DestroyFrame(ID3DXAllocateHie
return
D3D_OK
;
return
D3D_OK
;
}
}
static
CALLBACK
HRESULT
ID3DXAllocateHierarchyImpl_CreateFrame
(
ID3DXAllocateHierarchy
*
iface
,
static
HRESULT
CALLBACK
ID3DXAllocateHierarchyImpl_CreateFrame
(
ID3DXAllocateHierarchy
*
iface
,
const
char
*
name
,
D3DXFRAME
**
new_frame
)
const
char
*
name
,
D3DXFRAME
**
new_frame
)
{
{
D3DXFRAME
*
frame
;
D3DXFRAME
*
frame
;
...
@@ -1850,13 +1850,13 @@ static HRESULT destroy_mesh_container(LPD3DXMESHCONTAINER mesh_container)
...
@@ -1850,13 +1850,13 @@ static HRESULT destroy_mesh_container(LPD3DXMESHCONTAINER mesh_container)
return
D3D_OK
;
return
D3D_OK
;
}
}
static
CALLBACK
HRESULT
ID3DXAllocateHierarchyImpl_DestroyMeshContainer
(
ID3DXAllocateHierarchy
*
iface
,
LPD3DXMESHCONTAINER
mesh_container
)
static
HRESULT
CALLBACK
ID3DXAllocateHierarchyImpl_DestroyMeshContainer
(
ID3DXAllocateHierarchy
*
iface
,
LPD3DXMESHCONTAINER
mesh_container
)
{
{
TRACECALLBACK
(
"ID3DXAllocateHierarchyImpl_DestroyMeshContainer(%p, %p)
\n
"
,
iface
,
mesh_container
);
TRACECALLBACK
(
"ID3DXAllocateHierarchyImpl_DestroyMeshContainer(%p, %p)
\n
"
,
iface
,
mesh_container
);
return
destroy_mesh_container
(
mesh_container
);
return
destroy_mesh_container
(
mesh_container
);
}
}
static
CALLBACK
HRESULT
ID3DXAllocateHierarchyImpl_CreateMeshContainer
(
ID3DXAllocateHierarchy
*
iface
,
static
HRESULT
CALLBACK
ID3DXAllocateHierarchyImpl_CreateMeshContainer
(
ID3DXAllocateHierarchy
*
iface
,
const
char
*
name
,
const
D3DXMESHDATA
*
mesh_data
,
const
D3DXMATERIAL
*
materials
,
const
char
*
name
,
const
D3DXMESHDATA
*
mesh_data
,
const
D3DXMATERIAL
*
materials
,
const
D3DXEFFECTINSTANCE
*
effects
,
DWORD
num_materials
,
const
DWORD
*
adjacency
,
const
D3DXEFFECTINSTANCE
*
effects
,
DWORD
num_materials
,
const
DWORD
*
adjacency
,
ID3DXSkinInfo
*
skin_info
,
D3DXMESHCONTAINER
**
new_mesh_container
)
ID3DXSkinInfo
*
skin_info
,
D3DXMESHCONTAINER
**
new_mesh_container
)
...
...
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