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
6af24c81
Commit
6af24c81
authored
Mar 23, 2006
by
Stefan Dösinger
Committed by
Alexandre Julliard
Mar 24, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Rectpatch code fix.
Update the wined3d code to use WINED3DRECTPATCH_INFO, which was added with an older patch.
parent
7fe881c7
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
device.c
dlls/d3d8/device.c
+1
-1
device.c
dlls/d3d9/device.c
+1
-1
device.c
dlls/wined3d/device.c
+1
-1
wined3d_interface.h
include/wine/wined3d_interface.h
+1
-1
No files found.
dlls/d3d8/device.c
View file @
6af24c81
...
@@ -1318,7 +1318,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_DrawRectPatch(LPDIRECT3DDEVICE8 iface, UINT
...
@@ -1318,7 +1318,7 @@ HRESULT WINAPI IDirect3DDevice8Impl_DrawRectPatch(LPDIRECT3DDEVICE8 iface, UINT
IDirect3DDevice8Impl
*
This
=
(
IDirect3DDevice8Impl
*
)
iface
;
IDirect3DDevice8Impl
*
This
=
(
IDirect3DDevice8Impl
*
)
iface
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
TRACE
(
"(%p) Relay
\n
"
,
This
);
return
IWineD3DDevice_DrawRectPatch
(
This
->
WineD3DDevice
,
Handle
,
pNumSegs
,
pRectPatchInfo
);
return
IWineD3DDevice_DrawRectPatch
(
This
->
WineD3DDevice
,
Handle
,
pNumSegs
,
(
WINED3DRECTPATCH_INFO
*
)
pRectPatchInfo
);
}
}
HRESULT
WINAPI
IDirect3DDevice8Impl_DrawTriPatch
(
LPDIRECT3DDEVICE8
iface
,
UINT
Handle
,
CONST
float
*
pNumSegs
,
CONST
D3DTRIPATCH_INFO
*
pTriPatchInfo
)
{
HRESULT
WINAPI
IDirect3DDevice8Impl_DrawTriPatch
(
LPDIRECT3DDEVICE8
iface
,
UINT
Handle
,
CONST
float
*
pNumSegs
,
CONST
D3DTRIPATCH_INFO
*
pTriPatchInfo
)
{
...
...
dlls/d3d9/device.c
View file @
6af24c81
...
@@ -796,7 +796,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_GetIndices(LPDIRECT3DDEVICE9 iface, IDirec
...
@@ -796,7 +796,7 @@ HRESULT WINAPI IDirect3DDevice9Impl_GetIndices(LPDIRECT3DDEVICE9 iface, IDirec
HRESULT
WINAPI
IDirect3DDevice9Impl_DrawRectPatch
(
LPDIRECT3DDEVICE9
iface
,
UINT
Handle
,
CONST
float
*
pNumSegs
,
CONST
D3DRECTPATCH_INFO
*
pRectPatchInfo
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_DrawRectPatch
(
LPDIRECT3DDEVICE9
iface
,
UINT
Handle
,
CONST
float
*
pNumSegs
,
CONST
D3DRECTPATCH_INFO
*
pRectPatchInfo
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
TRACE
(
"(%p) Relay
\n
"
,
This
);
return
IWineD3DDevice_DrawRectPatch
(
This
->
WineD3DDevice
,
Handle
,
pNumSegs
,
pRectPatchInfo
);
return
IWineD3DDevice_DrawRectPatch
(
This
->
WineD3DDevice
,
Handle
,
pNumSegs
,
(
WINED3DRECTPATCH_INFO
*
)
pRectPatchInfo
);
}
}
/*http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/graphics/reference/d3d/interfaces/idirect3ddevice9/DrawTriPatch.asp*/
/*http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/graphics/reference/d3d/interfaces/idirect3ddevice9/DrawTriPatch.asp*/
HRESULT
WINAPI
IDirect3DDevice9Impl_DrawTriPatch
(
LPDIRECT3DDEVICE9
iface
,
UINT
Handle
,
CONST
float
*
pNumSegs
,
CONST
D3DTRIPATCH_INFO
*
pTriPatchInfo
)
{
HRESULT
WINAPI
IDirect3DDevice9Impl_DrawTriPatch
(
LPDIRECT3DDEVICE9
iface
,
UINT
Handle
,
CONST
float
*
pNumSegs
,
CONST
D3DTRIPATCH_INFO
*
pTriPatchInfo
)
{
...
...
dlls/wined3d/device.c
View file @
6af24c81
...
@@ -5810,7 +5810,7 @@ OpenGL evaluators or tessellate surfaces within your application.
...
@@ -5810,7 +5810,7 @@ OpenGL evaluators or tessellate surfaces within your application.
*/
*/
/* http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/graphics/reference/d3d/interfaces/idirect3ddevice9/DrawRectPatch.asp */
/* http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/graphics/reference/d3d/interfaces/idirect3ddevice9/DrawRectPatch.asp */
HRESULT
WINAPI
IWineD3DDeviceImpl_DrawRectPatch
(
IWineD3DDevice
*
iface
,
UINT
Handle
,
CONST
float
*
pNumSegs
,
CONST
D3DRECTPATCH_INFO
*
pRectPatchInfo
)
{
HRESULT
WINAPI
IWineD3DDeviceImpl_DrawRectPatch
(
IWineD3DDevice
*
iface
,
UINT
Handle
,
CONST
float
*
pNumSegs
,
CONST
WINE
D3DRECTPATCH_INFO
*
pRectPatchInfo
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
TRACE
(
"(%p) Handle(%d) noSegs(%p) rectpatch(%p)
\n
"
,
This
,
Handle
,
pNumSegs
,
pRectPatchInfo
);
TRACE
(
"(%p) Handle(%d) noSegs(%p) rectpatch(%p)
\n
"
,
This
,
Handle
,
pNumSegs
,
pRectPatchInfo
);
FIXME
(
"(%p) : Stub
\n
"
,
This
);
FIXME
(
"(%p) : Stub
\n
"
,
This
);
...
...
include/wine/wined3d_interface.h
View file @
6af24c81
...
@@ -415,7 +415,7 @@ DECLARE_INTERFACE_(IWineD3DDevice,IWineD3DBase)
...
@@ -415,7 +415,7 @@ DECLARE_INTERFACE_(IWineD3DDevice,IWineD3DBase)
STDMETHOD
(
DrawIndexedPrimitive
)(
THIS_
D3DPRIMITIVETYPE
PrimitiveType
,
INT
baseVIdx
,
UINT
minIndex
,
UINT
NumVertices
,
UINT
startIndex
,
UINT
primCount
)
PURE
;
STDMETHOD
(
DrawIndexedPrimitive
)(
THIS_
D3DPRIMITIVETYPE
PrimitiveType
,
INT
baseVIdx
,
UINT
minIndex
,
UINT
NumVertices
,
UINT
startIndex
,
UINT
primCount
)
PURE
;
STDMETHOD
(
DrawPrimitiveUP
)(
THIS_
D3DPRIMITIVETYPE
PrimitiveType
,
UINT
PrimitiveCount
,
CONST
void
*
pVertexStreamZeroData
,
UINT
VertexStreamZeroStride
)
PURE
;
STDMETHOD
(
DrawPrimitiveUP
)(
THIS_
D3DPRIMITIVETYPE
PrimitiveType
,
UINT
PrimitiveCount
,
CONST
void
*
pVertexStreamZeroData
,
UINT
VertexStreamZeroStride
)
PURE
;
STDMETHOD
(
DrawIndexedPrimitiveUP
)(
THIS_
D3DPRIMITIVETYPE
PrimitiveType
,
UINT
MinVertexIndex
,
UINT
NumVertexIndices
,
UINT
PrimitiveCount
,
CONST
void
*
pIndexData
,
WINED3DFORMAT
IndexDataFormat
,
CONST
void
*
pVertexStreamZeroData
,
UINT
VertexStreamZeroStride
)
PURE
;
STDMETHOD
(
DrawIndexedPrimitiveUP
)(
THIS_
D3DPRIMITIVETYPE
PrimitiveType
,
UINT
MinVertexIndex
,
UINT
NumVertexIndices
,
UINT
PrimitiveCount
,
CONST
void
*
pIndexData
,
WINED3DFORMAT
IndexDataFormat
,
CONST
void
*
pVertexStreamZeroData
,
UINT
VertexStreamZeroStride
)
PURE
;
STDMETHOD
(
DrawRectPatch
)(
THIS_
UINT
Handle
,
CONST
float
*
pNumSegs
,
CONST
D3DRECTPATCH_INFO
*
pRectPatchInfo
)
PURE
;
STDMETHOD
(
DrawRectPatch
)(
THIS_
UINT
Handle
,
CONST
float
*
pNumSegs
,
CONST
WINE
D3DRECTPATCH_INFO
*
pRectPatchInfo
)
PURE
;
STDMETHOD
(
DrawTriPatch
)(
THIS_
UINT
Handle
,
CONST
float
*
pNumSegs
,
CONST
D3DTRIPATCH_INFO
*
pTriPatchInfo
)
PURE
;
STDMETHOD
(
DrawTriPatch
)(
THIS_
UINT
Handle
,
CONST
float
*
pNumSegs
,
CONST
D3DTRIPATCH_INFO
*
pTriPatchInfo
)
PURE
;
STDMETHOD
(
DeletePatch
)(
THIS_
UINT
Handle
)
PURE
;
STDMETHOD
(
DeletePatch
)(
THIS_
UINT
Handle
)
PURE
;
STDMETHOD
(
ColorFill
)(
THIS_
struct
IWineD3DSurface
*
pSurface
,
CONST
D3DRECT
*
pRect
,
D3DCOLOR
color
)
PURE
;
STDMETHOD
(
ColorFill
)(
THIS_
struct
IWineD3DSurface
*
pSurface
,
CONST
D3DRECT
*
pRect
,
D3DCOLOR
color
)
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