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
a1945388
Commit
a1945388
authored
Apr 19, 2010
by
Tony Wasserka
Committed by
Alexandre Julliard
Apr 20, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Add a stubbed D3DXDeclaratorFromFVF.
parent
26e93215
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
1 deletion
+14
-1
d3dx9_36.spec
dlls/d3dx9_36/d3dx9_36.spec
+1
-1
mesh.c
dlls/d3dx9_36/mesh.c
+11
-0
d3dx9mesh.h
include/d3dx9mesh.h
+2
-0
No files found.
dlls/d3dx9_36/d3dx9_36.spec
View file @
a1945388
...
...
@@ -118,7 +118,7 @@
@ stub D3DXCreateVolumeTextureFromResourceExW
@ stub D3DXCreateVolumeTextureFromResourceW
@ stdcall D3DXDebugMute(long)
@ st
ub D3DXDeclaratorFromFVF
@ st
dcall D3DXDeclaratorFromFVF(long ptr)
@ stub D3DXDisassembleEffect
@ stub D3DXDisassembleShader
@ stub D3DXFileCreate
...
...
dlls/d3dx9_36/mesh.c
View file @
a1945388
...
...
@@ -2,6 +2,7 @@
* Mesh operations specific to D3DX9.
*
* Copyright (C) 2009 David Adam
* Copyright (C) 2010 Tony Wasserka
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -167,6 +168,16 @@ HRESULT WINAPI D3DXComputeBoundingSphere(CONST D3DXVECTOR3* pfirstposition, DWOR
}
/*************************************************************************
* D3DXDeclaratorFromFVF
*/
HRESULT
WINAPI
D3DXDeclaratorFromFVF
(
DWORD
fvf
,
D3DVERTEXELEMENT9
Declaration
[
MAX_FVF_DECL_SIZE
])
{
FIXME
(
"(%d, %p): stub
\n
"
,
fvf
,
Declaration
);
return
E_NOTIMPL
;
}
/*************************************************************************
* D3DXGetFVFVertexSize
*/
static
UINT
Get_TexCoord_Size_From_FVF
(
DWORD
FVF
,
int
tex_num
)
...
...
include/d3dx9mesh.h
View file @
a1945388
/*
* Copyright (C) 2009 David Adam
* Copyright (C) 2010 Tony Wasserka
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
...
...
@@ -130,6 +131,7 @@ BOOL WINAPI D3DXBoxBoundProbe(CONST D3DXVECTOR3 *, CONST D3DXVECTOR3 *, CONST
BOOL
WINAPI
D3DXSphereBoundProbe
(
CONST
D3DXVECTOR3
*
,
FLOAT
,
CONST
D3DXVECTOR3
*
,
CONST
D3DXVECTOR3
*
);
HRESULT
WINAPI
D3DXComputeBoundingBox
(
CONST
D3DXVECTOR3
*
,
DWORD
,
DWORD
,
D3DXVECTOR3
*
,
D3DXVECTOR3
*
);
HRESULT
WINAPI
D3DXComputeBoundingSphere
(
CONST
D3DXVECTOR3
*
,
DWORD
,
DWORD
,
D3DXVECTOR3
*
,
FLOAT
*
);
HRESULT
WINAPI
D3DXDeclaratorFromFVF
(
DWORD
,
D3DVERTEXELEMENT9
[
MAX_FVF_DECL_SIZE
]);
BOOL
WINAPI
D3DXIntersectTri
(
CONST
D3DXVECTOR3
*
,
CONST
D3DXVECTOR3
*
,
CONST
D3DXVECTOR3
*
,
CONST
D3DXVECTOR3
*
,
CONST
D3DXVECTOR3
*
,
FLOAT
*
,
FLOAT
*
,
FLOAT
*
);
#ifdef __cplusplus
...
...
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