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
fe9db6fa
Commit
fe9db6fa
authored
Sep 25, 2010
by
Misha Koshelev
Committed by
Alexandre Julliard
Sep 27, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36: Add stub for D3DXCreateCylinder.
parent
30be5879
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
1 deletion
+18
-1
d3dx9_36.spec
dlls/d3dx9_36/d3dx9_36.spec
+1
-1
mesh.c
dlls/d3dx9_36/mesh.c
+8
-0
d3dx9shape.h
include/d3dx9shape.h
+9
-0
No files found.
dlls/d3dx9_36/d3dx9_36.spec
View file @
fe9db6fa
...
...
@@ -45,7 +45,7 @@
@ stub D3DXCreateCubeTextureFromResourceExA
@ stub D3DXCreateCubeTextureFromResourceExW
@ stub D3DXCreateCubeTextureFromResourceW
@ st
ub D3DXCreateCylinder
@ st
dcall D3DXCreateCylinder(ptr long long long long long ptr ptr)
@ stdcall D3DXCreateEffect(ptr ptr long ptr ptr long ptr ptr ptr)
@ stdcall D3DXCreateEffectCompiler(ptr long ptr ptr long ptr ptr)
@ stdcall D3DXCreateEffectCompilerFromFileA(str ptr ptr long ptr ptr)
...
...
dlls/d3dx9_36/mesh.c
View file @
fe9db6fa
...
...
@@ -1289,6 +1289,14 @@ HRESULT WINAPI D3DXCreateSphere(LPDIRECT3DDEVICE9 device, FLOAT radius, UINT sli
return
D3D_OK
;
}
HRESULT
WINAPI
D3DXCreateCylinder
(
LPDIRECT3DDEVICE9
device
,
FLOAT
radius1
,
FLOAT
radius2
,
FLOAT
length
,
UINT
slices
,
UINT
stacks
,
LPD3DXMESH
*
mesh
,
LPD3DXBUFFER
*
adjacency
)
{
FIXME
(
"(%p, %f, %f, %f, %u, %u, %p, %p): stub
\n
"
,
device
,
radius1
,
radius2
,
length
,
slices
,
stacks
,
mesh
,
adjacency
);
return
E_NOTIMPL
;
}
HRESULT
WINAPI
D3DXCreateTeapot
(
LPDIRECT3DDEVICE9
device
,
LPD3DXMESH
*
mesh
,
LPD3DXBUFFER
*
adjacency
)
{
FIXME
(
"(%p, %p, %p): stub
\n
"
,
device
,
mesh
,
adjacency
);
...
...
include/d3dx9shape.h
View file @
fe9db6fa
...
...
@@ -39,6 +39,15 @@ HRESULT WINAPI D3DXCreateSphere(LPDIRECT3DDEVICE9 device,
LPD3DXMESH
*
mesh
,
LPD3DXBUFFER
*
adjacency
);
HRESULT
WINAPI
D3DXCreateCylinder
(
LPDIRECT3DDEVICE9
device
,
FLOAT
radius1
,
FLOAT
radius2
,
FLOAT
length
,
UINT
slices
,
UINT
stacks
,
LPD3DXMESH
*
mesh
,
LPD3DXBUFFER
*
adjacency
);
HRESULT
WINAPI
D3DXCreateTeapot
(
LPDIRECT3DDEVICE9
device
,
LPD3DXMESH
*
mesh
,
LPD3DXBUFFER
*
adjacency
);
...
...
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