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
725ec032
Commit
725ec032
authored
Dec 11, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Dec 12, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Avoid LPD3DDEVICEDESC.
parent
ab554480
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
d3d.h
include/d3d.h
+3
-3
d3dcaps.h
include/d3dcaps.h
+2
-1
No files found.
include/d3d.h
View file @
725ec032
...
...
@@ -937,7 +937,7 @@ DECLARE_INTERFACE_(IDirect3DDevice,IUnknown)
STDMETHOD_
(
ULONG
,
Release
)(
THIS
)
PURE
;
/*** IDirect3DDevice methods ***/
STDMETHOD
(
Initialize
)(
THIS_
IDirect3D
*
d3d
,
GUID
*
guid
,
D3DDEVICEDESC
*
desc
)
PURE
;
STDMETHOD
(
GetCaps
)(
THIS_
LPD3DDEVICEDESC
lpD3DHWDevDesc
,
LPD3DDEVICEDESC
lpD3DHELDevD
esc
)
PURE
;
STDMETHOD
(
GetCaps
)(
THIS_
D3DDEVICEDESC
*
hal_desc
,
D3DDEVICEDESC
*
hel_d
esc
)
PURE
;
STDMETHOD
(
SwapTextureHandles
)(
THIS_
IDirect3DTexture
*
tex1
,
IDirect3DTexture
*
tex2
)
PURE
;
STDMETHOD
(
CreateExecuteBuffer
)(
THIS_
D3DEXECUTEBUFFERDESC
*
desc
,
IDirect3DExecuteBuffer
**
buffer
,
IUnknown
*
outer
)
PURE
;
...
...
@@ -1026,7 +1026,7 @@ DECLARE_INTERFACE_(IDirect3DDevice2,IUnknown)
STDMETHOD_
(
ULONG
,
AddRef
)(
THIS
)
PURE
;
STDMETHOD_
(
ULONG
,
Release
)(
THIS
)
PURE
;
/*** IDirect3DDevice2 methods ***/
STDMETHOD
(
GetCaps
)(
THIS_
LPD3DDEVICEDESC
lpD3DHWDevDesc
,
LPD3DDEVICEDESC
lpD3DHELDevD
esc
)
PURE
;
STDMETHOD
(
GetCaps
)(
THIS_
D3DDEVICEDESC
*
hal_desc
,
D3DDEVICEDESC
*
hel_d
esc
)
PURE
;
STDMETHOD
(
SwapTextureHandles
)(
THIS_
IDirect3DTexture2
*
tex1
,
IDirect3DTexture2
*
tex2
)
PURE
;
STDMETHOD
(
GetStats
)(
THIS_
LPD3DSTATS
lpD3DStats
)
PURE
;
STDMETHOD
(
AddViewport
)(
THIS_
IDirect3DViewport2
*
viewport
)
PURE
;
...
...
@@ -1146,7 +1146,7 @@ DECLARE_INTERFACE_(IDirect3DDevice3,IUnknown)
STDMETHOD_
(
ULONG
,
AddRef
)(
THIS
)
PURE
;
STDMETHOD_
(
ULONG
,
Release
)(
THIS
)
PURE
;
/*** IDirect3DDevice3 methods ***/
STDMETHOD
(
GetCaps
)(
THIS_
LPD3DDEVICEDESC
lpD3DHWDevDesc
,
LPD3DDEVICEDESC
lpD3DHELDevD
esc
)
PURE
;
STDMETHOD
(
GetCaps
)(
THIS_
D3DDEVICEDESC
*
hal_desc
,
D3DDEVICEDESC
*
hel_d
esc
)
PURE
;
STDMETHOD
(
GetStats
)(
THIS_
LPD3DSTATS
lpD3DStats
)
PURE
;
STDMETHOD
(
AddViewport
)(
THIS_
IDirect3DViewport3
*
viewport
)
PURE
;
STDMETHOD
(
DeleteViewport
)(
THIS_
IDirect3DViewport3
*
viewport
)
PURE
;
...
...
include/d3dcaps.h
View file @
725ec032
...
...
@@ -347,7 +347,8 @@ typedef struct _D3DDeviceDesc7 {
#define D3DVTXPCAPS_POSITIONALLIGHTS 0x00000010
#define D3DVTXPCAPS_LOCALVIEWER 0x00000020
typedef
HRESULT
(
CALLBACK
*
LPD3DENUMDEVICESCALLBACK
)(
LPGUID
lpGuid
,
LPSTR
lpDeviceDescription
,
LPSTR
lpDeviceName
,
LPD3DDEVICEDESC
,
LPD3DDEVICEDESC
,
LPVOID
);
typedef
HRESULT
(
CALLBACK
*
LPD3DENUMDEVICESCALLBACK
)(
GUID
*
guid
,
char
*
description
,
char
*
name
,
D3DDEVICEDESC
*
hal_desc
,
D3DDEVICEDESC
*
hel_desc
,
void
*
ctx
);
typedef
HRESULT
(
CALLBACK
*
LPD3DENUMDEVICESCALLBACK7
)(
LPSTR
lpDeviceDescription
,
LPSTR
lpDeviceName
,
LPD3DDEVICEDESC7
,
LPVOID
);
#define D3DFDS_COLORMODEL 0x00000001
...
...
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