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
bb163ef0
Commit
bb163ef0
authored
Jan 22, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 22, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3drm: Avoid LPDDPIXELFORMAT.
parent
c309046c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
device.c
dlls/d3drm/device.c
+2
-4
d3drmobj.h
include/d3drmobj.h
+1
-1
No files found.
dlls/d3drm/device.c
View file @
bb163ef0
...
...
@@ -904,10 +904,8 @@ static HRESULT WINAPI IDirect3DRMDevice3Impl_GetDirect3DDevice2(IDirect3DRMDevic
}
/*** IDirect3DRMDevice3 methods ***/
static
HRESULT
WINAPI
IDirect3DRMDevice3Impl_FindPreferredTextureFormat
(
IDirect3DRMDevice3
*
iface
,
DWORD
bitdepths
,
DWORD
flags
,
LPDDPIXELFORMAT
lpDDPF
)
static
HRESULT
WINAPI
IDirect3DRMDevice3Impl_FindPreferredTextureFormat
(
IDirect3DRMDevice3
*
iface
,
DWORD
bitdepths
,
DWORD
flags
,
DDPIXELFORMAT
*
lpDDPF
)
{
IDirect3DRMDeviceImpl
*
This
=
impl_from_IDirect3DRMDevice3
(
iface
);
...
...
include/d3drmobj.h
View file @
bb163ef0
...
...
@@ -678,7 +678,7 @@ DECLARE_INTERFACE_(IDirect3DRMDevice3,IDirect3DRMObject)
STDMETHOD_
(
DWORD
,
GetRenderMode
)(
THIS
)
PURE
;
STDMETHOD
(
GetDirect3DDevice2
)(
THIS_
IDirect3DDevice2
**
device
)
PURE
;
/*** IDirect3DRMDevice3 methods ***/
STDMETHOD
(
FindPreferredTextureFormat
)(
THIS_
DWORD
BitDepths
,
DWORD
flags
,
LPDDPIXELFORMAT
pDDPF
)
PURE
;
STDMETHOD
(
FindPreferredTextureFormat
)(
THIS_
DWORD
BitDepths
,
DWORD
flags
,
DDPIXELFORMAT
*
format
)
PURE
;
STDMETHOD
(
RenderStateChange
)(
THIS_
D3DRENDERSTATETYPE
drsType
,
DWORD
val
,
DWORD
flags
)
PURE
;
STDMETHOD
(
LightStateChange
)(
THIS_
D3DLIGHTSTATETYPE
drsType
,
DWORD
val
,
DWORD
flags
)
PURE
;
STDMETHOD
(
GetStateChangeOptions
)(
THIS_
DWORD
StateClass
,
DWORD
StateNum
,
LPDWORD
pFlags
)
PURE
;
...
...
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