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
9f46792b
Commit
9f46792b
authored
Mar 11, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
Mar 13, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add WINED3DVERTEXBUFFER_DESC to wined3d_types.h.
parent
d2ef7869
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
4 deletions
+13
-4
vertexbuffer.c
dlls/d3d8/vertexbuffer.c
+1
-1
vertexbuffer.c
dlls/d3d9/vertexbuffer.c
+1
-1
vertexbuffer.c
dlls/wined3d/vertexbuffer.c
+1
-1
wined3d_interface.h
include/wine/wined3d_interface.h
+1
-1
wined3d_types.h
include/wine/wined3d_types.h
+9
-0
No files found.
dlls/d3d8/vertexbuffer.c
View file @
9f46792b
...
...
@@ -140,7 +140,7 @@ HRESULT WINAPI IDirect3DVertexBuffer8Impl_GetDesc(LPDIRECT3DVERTEXBUFFER8 iface,
IDirect3DVertexBuffer8Impl
*
This
=
(
IDirect3DVertexBuffer8Impl
*
)
iface
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
return
IWineD3DVertexBuffer_GetDesc
(
This
->
wineD3DVertexBuffer
,
pDesc
);
return
IWineD3DVertexBuffer_GetDesc
(
This
->
wineD3DVertexBuffer
,
(
WINED3DVERTEXBUFFER_DESC
*
)
pDesc
);
}
const
IDirect3DVertexBuffer8Vtbl
Direct3DVertexBuffer8_Vtbl
=
...
...
dlls/d3d9/vertexbuffer.c
View file @
9f46792b
...
...
@@ -129,7 +129,7 @@ HRESULT WINAPI IDirect3DVertexBuffer9Impl_Unlock(LPDIRECT3DVERTEXBUFFER9 iface)
HRESULT
WINAPI
IDirect3DVertexBuffer9Impl_GetDesc
(
LPDIRECT3DVERTEXBUFFER9
iface
,
D3DVERTEXBUFFER_DESC
*
pDesc
)
{
IDirect3DVertexBuffer9Impl
*
This
=
(
IDirect3DVertexBuffer9Impl
*
)
iface
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
return
IWineD3DVertexBuffer_GetDesc
(
This
->
wineD3DVertexBuffer
,
pDesc
);
return
IWineD3DVertexBuffer_GetDesc
(
This
->
wineD3DVertexBuffer
,
(
WINED3DVERTEXBUFFER_DESC
*
)
pDesc
);
}
const
IDirect3DVertexBuffer9Vtbl
Direct3DVertexBuffer9_Vtbl
=
...
...
dlls/wined3d/vertexbuffer.c
View file @
9f46792b
...
...
@@ -116,7 +116,7 @@ HRESULT WINAPI IWineD3DVertexBufferImpl_Unlock(IWineD3DVertexBuffer *ifa
TRACE
(
"(%p) : stub
\n
"
,
This
);
return
D3D_OK
;
}
HRESULT
WINAPI
IWineD3DVertexBufferImpl_GetDesc
(
IWineD3DVertexBuffer
*
iface
,
D3DVERTEXBUFFER_DESC
*
pDesc
)
{
HRESULT
WINAPI
IWineD3DVertexBufferImpl_GetDesc
(
IWineD3DVertexBuffer
*
iface
,
WINE
D3DVERTEXBUFFER_DESC
*
pDesc
)
{
IWineD3DVertexBufferImpl
*
This
=
(
IWineD3DVertexBufferImpl
*
)
iface
;
TRACE
(
"(%p)
\n
"
,
This
);
...
...
include/wine/wined3d_interface.h
View file @
9f46792b
...
...
@@ -634,7 +634,7 @@ DECLARE_INTERFACE_(IWineD3DVertexBuffer,IWineD3DResource)
/*** IWineD3DVertexBuffer methods ***/
STDMETHOD
(
Lock
)(
THIS_
UINT
OffsetToLock
,
UINT
SizeToLock
,
BYTE
**
ppbData
,
DWORD
Flags
)
PURE
;
STDMETHOD
(
Unlock
)(
THIS
)
PURE
;
STDMETHOD
(
GetDesc
)(
THIS_
D3DVERTEXBUFFER_DESC
*
pDesc
)
PURE
;
STDMETHOD
(
GetDesc
)(
THIS_
WINE
D3DVERTEXBUFFER_DESC
*
pDesc
)
PURE
;
};
#undef INTERFACE
...
...
include/wine/wined3d_types.h
View file @
9f46792b
...
...
@@ -601,6 +601,15 @@ typedef struct WINED3DDEVINFO_VCACHE {
DWORD
MagicNumber
;
}
WINED3DDEVINFO_VCACHE
;
typedef
struct
_WINED3DVERTEXBUFFER_DESC
{
WINED3DFORMAT
Format
;
WINED3DRESOURCETYPE
Type
;
DWORD
Usage
;
D3DPOOL
Pool
;
UINT
Size
;
DWORD
FVF
;
}
WINED3DVERTEXBUFFER_DESC
;
/*
* The wined3dcaps structure
*/
...
...
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