Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
6cc87406
Commit
6cc87406
authored
Mar 14, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
Mar 15, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add WINED3DINDEXBUFFER_DESC to wined3dtypes.h.
parent
cba42226
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13 additions
and
5 deletions
+13
-5
indexbuffer.c
dlls/d3d8/indexbuffer.c
+1
-1
indexbuffer.c
dlls/d3d9/indexbuffer.c
+1
-1
device.c
dlls/wined3d/device.c
+1
-1
indexbuffer.c
dlls/wined3d/indexbuffer.c
+1
-1
wined3d_interface.h
include/wine/wined3d_interface.h
+1
-1
wined3d_types.h
include/wine/wined3d_types.h
+8
-0
No files found.
dlls/d3d8/indexbuffer.c
View file @
6cc87406
...
...
@@ -126,7 +126,7 @@ HRESULT WINAPI IDirect3DIndexBuffer8Impl_Unlock(LPDIRECT3DINDEXBUFFER8 iface) {
HRESULT
WINAPI
IDirect3DIndexBuffer8Impl_GetDesc
(
LPDIRECT3DINDEXBUFFER8
iface
,
D3DINDEXBUFFER_DESC
*
pDesc
)
{
IDirect3DIndexBuffer8Impl
*
This
=
(
IDirect3DIndexBuffer8Impl
*
)
iface
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
return
IWineD3DIndexBuffer_GetDesc
(
This
->
wineD3DIndexBuffer
,
pDesc
);
return
IWineD3DIndexBuffer_GetDesc
(
This
->
wineD3DIndexBuffer
,
(
WINED3DINDEXBUFFER_DESC
*
)
pDesc
);
}
...
...
dlls/d3d9/indexbuffer.c
View file @
6cc87406
...
...
@@ -127,7 +127,7 @@ HRESULT WINAPI IDirect3DIndexBuffer9Impl_Unlock(LPDIRECT3DINDEXBUFFER9 iface) {
HRESULT
WINAPI
IDirect3DIndexBuffer9Impl_GetDesc
(
LPDIRECT3DINDEXBUFFER9
iface
,
D3DINDEXBUFFER_DESC
*
pDesc
)
{
IDirect3DIndexBuffer9Impl
*
This
=
(
IDirect3DIndexBuffer9Impl
*
)
iface
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
return
IWineD3DIndexBuffer_GetDesc
(
This
->
wineD3DIndexBuffer
,
pDesc
);
return
IWineD3DIndexBuffer_GetDesc
(
This
->
wineD3DIndexBuffer
,
(
WINED3DINDEXBUFFER_DESC
*
)
pDesc
);
}
...
...
dlls/wined3d/device.c
View file @
6cc87406
...
...
@@ -5024,7 +5024,7 @@ HRESULT WINAPI IWineD3DDeviceImpl_DrawIndexedPrimitive(IWineD3DDevice *iface,
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
UINT
idxStride
=
2
;
IWineD3DIndexBuffer
*
pIB
;
D3DINDEXBUFFER_DESC
IdxBufDsc
;
WINE
D3DINDEXBUFFER_DESC
IdxBufDsc
;
pIB
=
This
->
stateBlock
->
pIndexData
;
This
->
stateBlock
->
streamIsUP
=
FALSE
;
...
...
dlls/wined3d/indexbuffer.c
View file @
6cc87406
...
...
@@ -116,7 +116,7 @@ HRESULT WINAPI IWineD3DIndexBufferImpl_Unlock(IWineD3DIndexBuffer *iface
TRACE
(
"(%p) : stub
\n
"
,
This
);
return
D3D_OK
;
}
HRESULT
WINAPI
IWineD3DIndexBufferImpl_GetDesc
(
IWineD3DIndexBuffer
*
iface
,
D3DINDEXBUFFER_DESC
*
pDesc
)
{
HRESULT
WINAPI
IWineD3DIndexBufferImpl_GetDesc
(
IWineD3DIndexBuffer
*
iface
,
WINE
D3DINDEXBUFFER_DESC
*
pDesc
)
{
IWineD3DIndexBufferImpl
*
This
=
(
IWineD3DIndexBufferImpl
*
)
iface
;
TRACE
(
"(%p)
\n
"
,
This
);
...
...
include/wine/wined3d_interface.h
View file @
6cc87406
...
...
@@ -684,7 +684,7 @@ DECLARE_INTERFACE_(IWineD3DIndexBuffer,IWineD3DResource)
/*** IWineD3DIndexBuffer methods ***/
STDMETHOD
(
Lock
)(
THIS_
UINT
OffsetToLock
,
UINT
SizeToLock
,
BYTE
**
ppbData
,
DWORD
Flags
)
PURE
;
STDMETHOD
(
Unlock
)(
THIS
)
PURE
;
STDMETHOD
(
GetDesc
)(
THIS_
D3DINDEXBUFFER_DESC
*
pDesc
)
PURE
;
STDMETHOD
(
GetDesc
)(
THIS_
WINE
D3DINDEXBUFFER_DESC
*
pDesc
)
PURE
;
};
#undef INTERFACE
...
...
include/wine/wined3d_types.h
View file @
6cc87406
...
...
@@ -610,6 +610,14 @@ typedef struct _WINED3DVERTEXBUFFER_DESC {
DWORD
FVF
;
}
WINED3DVERTEXBUFFER_DESC
;
typedef
struct
_WINED3DINDEXBUFFER_DESC
{
WINED3DFORMAT
Format
;
WINED3DRESOURCETYPE
Type
;
DWORD
Usage
;
D3DPOOL
Pool
;
UINT
Size
;
}
WINED3DINDEXBUFFER_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