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
68c4f61d
Commit
68c4f61d
authored
Apr 23, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Apr 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Avoid LPDIRECT3DRMMESHBUILDER3.
parent
5c442f8d
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
15 deletions
+9
-15
d3drm.c
dlls/d3drm/d3drm.c
+3
-6
meshbuilder.c
dlls/d3drm/meshbuilder.c
+3
-6
d3drm.c
dlls/d3drm/tests/d3drm.c
+1
-1
d3drm.h
include/d3drm.h
+1
-1
d3drmobj.h
include/d3drmobj.h
+1
-1
No files found.
dlls/d3drm/d3drm.c
View file @
68c4f61d
...
...
@@ -929,14 +929,11 @@ static HRESULT WINAPI IDirect3DRM3Impl_CreateMesh(IDirect3DRM3 *iface, IDirect3D
return
Direct3DRMMesh_create
(
mesh
);
}
static
HRESULT
WINAPI
IDirect3DRM3Impl_CreateMeshBuilder
(
IDirect3DRM3
*
iface
,
LPDIRECT3DRMMESHBUILDER3
*
ppMeshBuilder
)
static
HRESULT
WINAPI
IDirect3DRM3Impl_CreateMeshBuilder
(
IDirect3DRM3
*
iface
,
IDirect3DRMMeshBuilder3
**
mesh_builder
)
{
IDirect3DRMImpl
*
This
=
impl_from_IDirect3DRM3
(
iface
);
TRACE
(
"(%p/%p)->(%p)
\n
"
,
iface
,
This
,
ppMeshBuilder
);
TRACE
(
"iface %p, mesh_builder %p.
\n
"
,
iface
,
mesh_builder
);
return
Direct3DRMMeshBuilder_create
(
&
IID_IDirect3DRMMeshBuilder3
,
(
IUnknown
**
)
ppMeshB
uilder
);
return
Direct3DRMMeshBuilder_create
(
&
IID_IDirect3DRMMeshBuilder3
,
(
IUnknown
**
)
mesh_b
uilder
);
}
static
HRESULT
WINAPI
IDirect3DRM3Impl_CreateFace
(
IDirect3DRM3
*
iface
,
LPDIRECT3DRMFACE2
*
Face
)
...
...
dlls/d3drm/meshbuilder.c
View file @
68c4f61d
...
...
@@ -1750,13 +1750,10 @@ static HRESULT WINAPI IDirect3DRMMeshBuilder3Impl_AddMesh(IDirect3DRMMeshBuilder
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder3Impl_AddMeshBuilder
(
IDirect3DRMMeshBuilder3
*
iface
,
LPDIRECT3DRMMESHBUILDER3
MeshBuilder
,
DWORD
flags
)
static
HRESULT
WINAPI
IDirect3DRMMeshBuilder3Impl_AddMeshBuilder
(
IDirect3DRMMeshBuilder3
*
iface
,
IDirect3DRMMeshBuilder3
*
mesh_builder
,
DWORD
flags
)
{
IDirect3DRMMeshBuilderImpl
*
This
=
impl_from_IDirect3DRMMeshBuilder3
(
iface
);
FIXME
(
"(%p)->(%p,%u): stub
\n
"
,
This
,
MeshBuilder
,
flags
);
FIXME
(
"iface %p, mesh_builder %p, flags %#x stub!
\n
"
,
iface
,
mesh_builder
,
flags
);
return
E_NOTIMPL
;
}
...
...
dlls/d3drm/tests/d3drm.c
View file @
68c4f61d
...
...
@@ -528,7 +528,7 @@ static void test_MeshBuilder3(void)
HRESULT
hr
;
IDirect3DRM
*
d3drm
;
IDirect3DRM3
*
d3drm3
;
LPDIRECT3DRMMESHBUILDER3
pMeshBuilder3
;
IDirect3DRMMeshBuilder3
*
pMeshBuilder3
;
D3DRMLOADMEMORY
info
;
int
val
;
DWORD
val1
;
...
...
include/d3drm.h
View file @
68c4f61d
...
...
@@ -339,7 +339,7 @@ DECLARE_INTERFACE_(IDirect3DRM3,IUnknown)
STDMETHOD
(
CreateObject
)(
THIS_
REFCLSID
rclsid
,
LPUNKNOWN
pUnkOuter
,
REFIID
riid
,
LPVOID
*
ppvObj
)
PURE
;
STDMETHOD
(
CreateFrame
)(
THIS_
IDirect3DRMFrame3
*
parent
,
IDirect3DRMFrame3
**
frame
)
PURE
;
STDMETHOD
(
CreateMesh
)(
THIS_
IDirect3DRMMesh
**
mesh
)
PURE
;
STDMETHOD
(
CreateMeshBuilder
)(
THIS_
LPDIRECT3DRMMESHBUILDER3
*
)
PURE
;
STDMETHOD
(
CreateMeshBuilder
)(
THIS_
IDirect3DRMMeshBuilder3
**
mesh_builder
)
PURE
;
STDMETHOD
(
CreateFace
)(
THIS_
LPDIRECT3DRMFACE2
*
)
PURE
;
STDMETHOD
(
CreateAnimation
)(
THIS_
LPDIRECT3DRMANIMATION2
*
)
PURE
;
STDMETHOD
(
CreateAnimationSet
)(
THIS_
LPDIRECT3DRMANIMATIONSET2
*
)
PURE
;
...
...
include/d3drmobj.h
View file @
68c4f61d
...
...
@@ -2861,7 +2861,7 @@ DECLARE_INTERFACE_(IDirect3DRMMeshBuilder3,IDirect3DRMVisual)
STDMETHOD
(
GenerateNormals
)(
THIS_
D3DVALUE
crease
,
DWORD
flags
)
PURE
;
STDMETHOD_
(
D3DRMCOLORSOURCE
,
GetColorSource
)(
THIS
)
PURE
;
STDMETHOD
(
AddMesh
)(
THIS_
IDirect3DRMMesh
*
mesh
)
PURE
;
STDMETHOD
(
AddMeshBuilder
)(
THIS_
LPDIRECT3DRMMESHBUILDER3
,
DWORD
flags
)
PURE
;
STDMETHOD
(
AddMeshBuilder
)(
THIS_
IDirect3DRMMeshBuilder3
*
mesh_builder
,
DWORD
flags
)
PURE
;
STDMETHOD
(
AddFrame
)(
THIS_
IDirect3DRMFrame3
*
frame
)
PURE
;
STDMETHOD
(
AddFace
)(
THIS_
LPDIRECT3DRMFACE2
)
PURE
;
STDMETHOD
(
AddFaces
)(
THIS_
DWORD
vcount
,
D3DVECTOR
*
vertices
,
DWORD
ncount
,
D3DVECTOR
*
normals
,
DWORD
*
data
,
...
...
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