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
00393fd8
Commit
00393fd8
authored
Apr 18, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Apr 18, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Avoid LPDIRECT3DRMDEVICE2.
parent
3004baeb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
d3drm.c
dlls/d3drm/d3drm.c
+4
-6
d3drm.h
include/d3drm.h
+1
-1
No files found.
dlls/d3drm/d3drm.c
View file @
00393fd8
...
...
@@ -606,14 +606,12 @@ static HRESULT WINAPI IDirect3DRM2Impl_CreateMaterial(IDirect3DRM2* iface, D3DVA
return
IDirect3DRM3_CreateMaterial
(
&
This
->
IDirect3DRM3_iface
,
power
,
(
LPDIRECT3DRMMATERIAL2
*
)
material
);
}
static
HRESULT
WINAPI
IDirect3DRM2Impl_CreateDevice
(
IDirect3DRM2
*
iface
,
DWORD
width
,
DWORD
height
,
LPDIRECT3DRMDEVICE2
*
ppD
evice
)
static
HRESULT
WINAPI
IDirect3DRM2Impl_CreateDevice
(
IDirect3DRM2
*
iface
,
DWORD
width
,
DWORD
height
,
IDirect3DRMDevice2
**
d
evice
)
{
IDirect3DRMImpl
*
This
=
impl_from_IDirect3DRM2
(
iface
);
FIXME
(
"(%p/%p)->(%u,%u,%p): partial stub
\n
"
,
iface
,
This
,
width
,
height
,
ppDevice
);
FIXME
(
"iface %p, width %u, height %u, device %p.
\n
"
,
iface
,
width
,
height
,
device
);
return
Direct3DRMDevice_create
(
&
IID_IDirect3DRMDevice2
,
(
IUnknown
**
)
ppD
evice
);
return
Direct3DRMDevice_create
(
&
IID_IDirect3DRMDevice2
,
(
IUnknown
**
)
d
evice
);
}
static
HRESULT
WINAPI
IDirect3DRM2Impl_CreateDeviceFromSurface
(
IDirect3DRM2
*
iface
,
GUID
*
pGUID
,
...
...
include/d3drm.h
View file @
00393fd8
...
...
@@ -204,7 +204,7 @@ DECLARE_INTERFACE_(IDirect3DRM2,IUnknown)
STDMETHOD
(
CreateLight
)(
THIS_
D3DRMLIGHTTYPE
,
D3DCOLOR
,
LPDIRECT3DRMLIGHT
*
)
PURE
;
STDMETHOD
(
CreateLightRGB
)(
THIS_
D3DRMLIGHTTYPE
,
D3DVALUE
,
D3DVALUE
,
D3DVALUE
,
LPDIRECT3DRMLIGHT
*
)
PURE
;
STDMETHOD
(
CreateMaterial
)(
THIS_
D3DVALUE
,
LPDIRECT3DRMMATERIAL
*
)
PURE
;
STDMETHOD
(
CreateDevice
)(
THIS_
DWORD
,
DWORD
,
LPDIRECT3DRMDEVICE2
*
)
PURE
;
STDMETHOD
(
CreateDevice
)(
THIS_
DWORD
width
,
DWORD
height
,
IDirect3DRMDevice2
**
device
)
PURE
;
STDMETHOD
(
CreateDeviceFromSurface
)(
THIS_
GUID
*
guid
,
IDirectDraw
*
ddraw
,
IDirectDrawSurface
*
surface
,
IDirect3DRMDevice2
**
device
)
PURE
;
STDMETHOD
(
CreateDeviceFromD3D
)(
THIS_
IDirect3D2
*
d3d
,
IDirect3DDevice2
*
d3d_device
,
...
...
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