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
a1a1cbcf
Commit
a1a1cbcf
authored
Dec 25, 2011
by
André Hentschel
Committed by
Alexandre Julliard
Dec 27, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Fix the order of the IDirect3DRM methods.
parent
2b981177
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
d3drm.c
dlls/d3drm/d3drm.c
+5
-5
d3drm.h
include/d3drm.h
+1
-1
No files found.
dlls/d3drm/d3drm.c
View file @
a1a1cbcf
...
...
@@ -239,20 +239,20 @@ static HRESULT WINAPI IDirect3DRMImpl_CreateDeviceFromClipper(IDirect3DRM* iface
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirect3DRMImpl_Create
Shadow
(
IDirect3DRM
*
iface
,
LPDIRECT3DRMVISUAL
pVisual
,
LPDIRECT3DRMLIGHT
pLight
,
D3DVALUE
px
,
D3DVALUE
py
,
D3DVALUE
pz
,
D3DVALUE
nx
,
D3DVALUE
ny
,
D3DVALUE
nz
,
LPDIRECT3DRMVISUAL
*
ppVisual
)
static
HRESULT
WINAPI
IDirect3DRMImpl_Create
TextureFromSurface
(
IDirect3DRM
*
iface
,
LPDIRECTDRAWSURFACE
pDDS
,
LPDIRECT3DRMTEXTURE
*
ppTexture
)
{
IDirect3DRMImpl
*
This
=
impl_from_IDirect3DRM
(
iface
);
FIXME
(
"(%p/%p)->(%p,%p
,%f,%f,%f,%f,%f,%f,%p): stub
\n
"
,
iface
,
This
,
pVisual
,
pLight
,
px
,
py
,
pz
,
nx
,
ny
,
nz
,
ppVisual
);
FIXME
(
"(%p/%p)->(%p,%p
): stub
\n
"
,
iface
,
This
,
pDDS
,
ppTexture
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
IDirect3DRMImpl_Create
TextureFromSurface
(
IDirect3DRM
*
iface
,
LPDIRECTDRAWSURFACE
pDDS
,
LPDIRECT3DRMTEXTURE
*
ppTexture
)
static
HRESULT
WINAPI
IDirect3DRMImpl_Create
Shadow
(
IDirect3DRM
*
iface
,
LPDIRECT3DRMVISUAL
pVisual
,
LPDIRECT3DRMLIGHT
pLight
,
D3DVALUE
px
,
D3DVALUE
py
,
D3DVALUE
pz
,
D3DVALUE
nx
,
D3DVALUE
ny
,
D3DVALUE
nz
,
LPDIRECT3DRMVISUAL
*
ppVisual
)
{
IDirect3DRMImpl
*
This
=
impl_from_IDirect3DRM
(
iface
);
FIXME
(
"(%p/%p)->(%p,%p
): stub
\n
"
,
iface
,
This
,
pDDS
,
ppTexture
);
FIXME
(
"(%p/%p)->(%p,%p
,%f,%f,%f,%f,%f,%f,%p): stub
\n
"
,
iface
,
This
,
pVisual
,
pLight
,
px
,
py
,
pz
,
nx
,
ny
,
nz
,
ppVisual
);
return
E_NOTIMPL
;
}
...
...
@@ -412,8 +412,8 @@ static const struct IDirect3DRMVtbl Direct3DRM_Vtbl =
IDirect3DRMImpl_CreateDeviceFromSurface
,
IDirect3DRMImpl_CreateDeviceFromD3D
,
IDirect3DRMImpl_CreateDeviceFromClipper
,
IDirect3DRMImpl_CreateShadow
,
IDirect3DRMImpl_CreateTextureFromSurface
,
IDirect3DRMImpl_CreateShadow
,
IDirect3DRMImpl_CreateViewport
,
IDirect3DRMImpl_CreateWrap
,
IDirect3DRMImpl_CreateUserVisual
,
...
...
include/d3drm.h
View file @
a1a1cbcf
...
...
@@ -74,9 +74,9 @@ DECLARE_INTERFACE_(IDirect3DRM,IUnknown)
STDMETHOD
(
CreateDeviceFromD3D
)(
THIS_
LPDIRECT3D
pD3D
,
LPDIRECT3DDEVICE
pD3DDev
,
LPDIRECT3DRMDEVICE
*
)
PURE
;
STDMETHOD
(
CreateDeviceFromClipper
)(
THIS_
LPDIRECTDRAWCLIPPER
pDDClipper
,
LPGUID
pGUID
,
int
width
,
int
height
,
LPDIRECT3DRMDEVICE
*
)
PURE
;
STDMETHOD
(
CreateTextureFromSurface
)(
THIS_
LPDIRECTDRAWSURFACE
pDDS
,
LPDIRECT3DRMTEXTURE
*
)
PURE
;
STDMETHOD
(
CreateShadow
)(
THIS_
LPDIRECT3DRMVISUAL
,
LPDIRECT3DRMLIGHT
,
D3DVALUE
px
,
D3DVALUE
py
,
D3DVALUE
pz
,
D3DVALUE
nx
,
D3DVALUE
ny
,
D3DVALUE
nz
,
LPDIRECT3DRMVISUAL
*
)
PURE
;
STDMETHOD
(
CreateTextureFromSurface
)(
THIS_
LPDIRECTDRAWSURFACE
pDDS
,
LPDIRECT3DRMTEXTURE
*
)
PURE
;
STDMETHOD
(
CreateViewport
)(
THIS_
LPDIRECT3DRMDEVICE
,
LPDIRECT3DRMFRAME
,
DWORD
,
DWORD
,
DWORD
,
DWORD
,
LPDIRECT3DRMVIEWPORT
*
)
PURE
;
STDMETHOD
(
CreateWrap
)(
THIS_
D3DRMWRAPTYPE
,
LPDIRECT3DRMFRAME
,
D3DVALUE
ox
,
D3DVALUE
oy
,
D3DVALUE
oz
,
...
...
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