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
5fe7522b
Commit
5fe7522b
authored
Feb 21, 2011
by
Dylan Smith
Committed by
Alexandre Julliard
Feb 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Add stubs for D3DXCreateText.
parent
6ef4e780
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
45 additions
and
2 deletions
+45
-2
d3dx9_36.spec
dlls/d3dx9_36/d3dx9_36.spec
+2
-2
mesh.c
dlls/d3dx9_36/mesh.c
+24
-0
d3dx9shape.h
include/d3dx9shape.h
+19
-0
No files found.
dlls/d3dx9_36/d3dx9_36.spec
View file @
5fe7522b
...
...
@@ -90,8 +90,8 @@
@ stdcall D3DXCreateSphere(ptr float long long ptr ptr)
@ stdcall D3DXCreateSprite(ptr ptr)
@ stdcall D3DXCreateTeapot(ptr ptr ptr)
@ st
ub D3DXCreateTextA
@ st
ub D3DXCreateTextW
@ st
dcall D3DXCreateTextA(ptr long str float float ptr ptr ptr)
@ st
dcall D3DXCreateTextW(ptr long wstr float float ptr ptr ptr)
@ stdcall D3DXCreateTexture(ptr long long long long long long ptr)
@ stdcall D3DXCreateTextureFromFileA(ptr str ptr)
@ stdcall D3DXCreateTextureFromFileExA(ptr str long long long long long long long long long ptr ptr ptr)
...
...
dlls/d3dx9_36/mesh.c
View file @
5fe7522b
...
...
@@ -1499,3 +1499,27 @@ HRESULT WINAPI D3DXCreateTeapot(LPDIRECT3DDEVICE9 device, LPD3DXMESH *mesh, LPD3
return
E_NOTIMPL
;
}
HRESULT
WINAPI
D3DXCreateTextA
(
LPDIRECT3DDEVICE9
device
,
HDC
hdc
,
LPCSTR
text
,
FLOAT
deviation
,
FLOAT
extrusion
,
LPD3DXMESH
*
mesh
,
LPD3DXBUFFER
*
adjacency
,
LPGLYPHMETRICSFLOAT
glyphmetrics
)
{
FIXME
(
"(%p, %p, %s, %f, %f, %p, %p, %p): stub
\n
"
,
device
,
hdc
,
debugstr_a
(
text
),
deviation
,
extrusion
,
mesh
,
adjacency
,
glyphmetrics
);
return
E_NOTIMPL
;
}
HRESULT
WINAPI
D3DXCreateTextW
(
LPDIRECT3DDEVICE9
device
,
HDC
hdc
,
LPCWSTR
text
,
FLOAT
deviation
,
FLOAT
extrusion
,
LPD3DXMESH
*
mesh
,
LPD3DXBUFFER
*
adjacency
,
LPGLYPHMETRICSFLOAT
glyphmetrics
)
{
FIXME
(
"(%p, %p, %s, %f, %f, %p, %p, %p): stub
\n
"
,
device
,
hdc
,
debugstr_w
(
text
),
deviation
,
extrusion
,
mesh
,
adjacency
,
glyphmetrics
);
return
E_NOTIMPL
;
}
include/d3dx9shape.h
View file @
5fe7522b
...
...
@@ -52,6 +52,25 @@ HRESULT WINAPI D3DXCreateTeapot(LPDIRECT3DDEVICE9 device,
LPD3DXMESH
*
mesh
,
LPD3DXBUFFER
*
adjacency
);
HRESULT
WINAPI
D3DXCreateTextA
(
LPDIRECT3DDEVICE9
device
,
HDC
hdc
,
LPCSTR
text
,
FLOAT
deviation
,
FLOAT
extrusion
,
LPD3DXMESH
*
mesh
,
LPD3DXBUFFER
*
adjacency
,
LPGLYPHMETRICSFLOAT
glyphmetrics
);
HRESULT
WINAPI
D3DXCreateTextW
(
LPDIRECT3DDEVICE9
device
,
HDC
hdc
,
LPCWSTR
text
,
FLOAT
deviation
,
FLOAT
extrusion
,
LPD3DXMESH
*
mesh
,
LPD3DXBUFFER
*
adjacency
,
LPGLYPHMETRICSFLOAT
glyphmetrics
);
#define D3DXCreateText WINELIB_NAME_AW(D3DXCreateText)
#ifdef __cplusplus
}
#endif
...
...
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