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
1cd7bcf4
Commit
1cd7bcf4
authored
Oct 12, 2006
by
Ivan Gyurdiev
Committed by
Alexandre Julliard
Oct 12, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Merge D3DCOLOR types into one type in WINED3D namespace.
parent
9628a1b2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
device.c
dlls/wined3d/device.c
+2
-2
wined3d_interface.h
include/wine/wined3d_interface.h
+2
-2
wined3d_types.h
include/wine/wined3d_types.h
+2
-0
No files found.
dlls/wined3d/device.c
View file @
1cd7bcf4
...
...
@@ -6022,7 +6022,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_Present(IWineD3DDevice *iface,
}
static
HRESULT
WINAPI
IWineD3DDeviceImpl_Clear
(
IWineD3DDevice
*
iface
,
DWORD
Count
,
CONST
WINED3DRECT
*
pRects
,
DWORD
Flags
,
D3DCOLOR
Color
,
float
Z
,
DWORD
Stencil
)
{
DWORD
Flags
,
WINE
D3DCOLOR
Color
,
float
Z
,
DWORD
Stencil
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
/* TODO: From MSDN This method fails if you specify the D3DCLEAR_ZBUFFER or D3DCLEAR_STENCIL flags when the
...
...
@@ -6995,7 +6995,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_DeletePatch(IWineD3DDevice *iface, UINT
return
WINED3D_OK
;
}
static
HRESULT
WINAPI
IWineD3DDeviceImpl_ColorFill
(
IWineD3DDevice
*
iface
,
IWineD3DSurface
*
pSurface
,
CONST
WINED3DRECT
*
pRect
,
D3DCOLOR
color
)
{
static
HRESULT
WINAPI
IWineD3DDeviceImpl_ColorFill
(
IWineD3DDevice
*
iface
,
IWineD3DSurface
*
pSurface
,
CONST
WINED3DRECT
*
pRect
,
WINE
D3DCOLOR
color
)
{
IWineD3DDeviceImpl
*
This
=
(
IWineD3DDeviceImpl
*
)
iface
;
IWineD3DSurfaceImpl
*
surface
=
(
IWineD3DSurfaceImpl
*
)
pSurface
;
DDBLTFX
BltFx
;
...
...
include/wine/wined3d_interface.h
View file @
1cd7bcf4
...
...
@@ -447,7 +447,7 @@ DECLARE_INTERFACE_(IWineD3DDevice,IWineD3DBase)
STDMETHOD
(
BeginScene
)(
THIS
)
PURE
;
STDMETHOD
(
EndScene
)(
THIS
)
PURE
;
STDMETHOD
(
Present
)(
THIS_
CONST
RECT
*
pSourceRect
,
CONST
RECT
*
pDestRect
,
HWND
hDestWindowOverride
,
CONST
RGNDATA
*
pDirtyRegion
)
PURE
;
STDMETHOD
(
Clear
)(
THIS_
DWORD
Count
,
CONST
WINED3DRECT
*
pRects
,
DWORD
Flags
,
D3DCOLOR
Color
,
float
Z
,
DWORD
Stencil
)
PURE
;
STDMETHOD
(
Clear
)(
THIS_
DWORD
Count
,
CONST
WINED3DRECT
*
pRects
,
DWORD
Flags
,
WINED3DCOLOR
Color
,
float
Z
,
DWORD
Stencil
)
PURE
;
STDMETHOD
(
DrawPrimitive
)(
THIS_
D3DPRIMITIVETYPE
PrimitiveType
,
UINT
StartVertex
,
UINT
PrimitiveCount
)
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
;
...
...
@@ -456,7 +456,7 @@ DECLARE_INTERFACE_(IWineD3DDevice,IWineD3DBase)
STDMETHOD
(
DrawRectPatch
)(
THIS_
UINT
Handle
,
CONST
float
*
pNumSegs
,
CONST
WINED3DRECTPATCH_INFO
*
pRectPatchInfo
)
PURE
;
STDMETHOD
(
DrawTriPatch
)(
THIS_
UINT
Handle
,
CONST
float
*
pNumSegs
,
CONST
WINED3DTRIPATCH_INFO
*
pTriPatchInfo
)
PURE
;
STDMETHOD
(
DeletePatch
)(
THIS_
UINT
Handle
)
PURE
;
STDMETHOD
(
ColorFill
)(
THIS_
struct
IWineD3DSurface
*
pSurface
,
CONST
WINED3DRECT
*
pRect
,
D3DCOLOR
color
)
PURE
;
STDMETHOD
(
ColorFill
)(
THIS_
struct
IWineD3DSurface
*
pSurface
,
CONST
WINED3DRECT
*
pRect
,
WINE
D3DCOLOR
color
)
PURE
;
STDMETHOD
(
UpdateTexture
)(
THIS_
struct
IWineD3DBaseTexture
*
pSourceTexture
,
struct
IWineD3DBaseTexture
*
pDestinationTexture
)
PURE
;
STDMETHOD
(
UpdateSurface
)(
THIS_
struct
IWineD3DSurface
*
pSourceSurface
,
CONST
RECT
*
pSourceRect
,
struct
IWineD3DSurface
*
pDestinationSurface
,
CONST
POINT
*
pDestPoint
)
PURE
;
STDMETHOD
(
CopyRects
)(
THIS_
struct
IWineD3DSurface
*
pSourceSurface
,
CONST
RECT
*
pSourceRectsArray
,
UINT
cRects
,
struct
IWineD3DSurface
*
pDestinationSurface
,
CONST
POINT
*
pDestPointsArray
);
...
...
include/wine/wined3d_types.h
View file @
1cd7bcf4
...
...
@@ -30,6 +30,8 @@
# error You must include d3d.h, d3d8.h or d3d9.h header to use this header
#endif
typedef
DWORD
WINED3DCOLOR
;
typedef
enum
_WINED3DLIGHTTYPE
{
WINED3DLIGHT_POINT
=
1
,
WINED3DLIGHT_SPOT
=
2
,
...
...
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