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
a24d59a1
Commit
a24d59a1
authored
Nov 13, 2012
by
Henri Verbeet
Committed by
Alexandre Julliard
Nov 14, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Avoid LPDIRECT3DDEVICE7.
parent
785033d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
d3d.c
dlls/ddraw/tests/d3d.c
+1
-1
d3d.h
include/d3d.h
+3
-2
No files found.
dlls/ddraw/tests/d3d.c
View file @
a24d59a1
...
...
@@ -33,7 +33,7 @@ static IDirectDraw7 *lpDD;
static
LPDIRECT3D7
lpD3D
=
NULL
;
static
IDirectDrawSurface7
*
lpDDS
;
static
IDirectDrawSurface7
*
lpDDSdepth
;
static
LPDIRECT3DDEVICE7
lpD3DDevice
=
NULL
;
static
IDirect3DDevice7
*
lpD3DDevice
;
static
IDirect3DVertexBuffer7
*
lpVBufSrc
;
static
IDirectDraw
*
DirectDraw1
=
NULL
;
...
...
include/d3d.h
View file @
a24d59a1
...
...
@@ -1517,8 +1517,9 @@ DECLARE_INTERFACE_(IDirect3DVertexBuffer7,IUnknown)
IDirect3DVertexBuffer7
*
src_buffer
,
DWORD
src_idx
,
IDirect3DDevice7
*
device
,
DWORD
flags
)
PURE
;
STDMETHOD
(
GetVertexBufferDesc
)(
THIS_
LPD3DVERTEXBUFFERDESC
lpD3DVertexBufferDesc
)
PURE
;
STDMETHOD
(
Optimize
)(
THIS_
LPDIRECT3DDEVICE7
lpD3DDevice
,
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
ProcessVerticesStrided
)(
THIS_
DWORD
dwVertexOp
,
DWORD
dwDestIndex
,
DWORD
dwCount
,
LPD3DDRAWPRIMITIVESTRIDEDDATA
lpStrideData
,
DWORD
dwVertexTypeDesc
,
LPDIRECT3DDEVICE7
lpD3DDevice
,
DWORD
dwFlags
)
PURE
;
STDMETHOD
(
Optimize
)(
THIS_
IDirect3DDevice7
*
device
,
DWORD
flags
)
PURE
;
STDMETHOD
(
ProcessVerticesStrided
)(
THIS_
DWORD
vertex_op
,
DWORD
dst_idx
,
DWORD
count
,
D3DDRAWPRIMITIVESTRIDEDDATA
*
data
,
DWORD
fvf
,
IDirect3DDevice7
*
device
,
DWORD
flags
)
PURE
;
};
#undef INTERFACE
...
...
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