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
3ac7720f
Commit
3ac7720f
authored
Oct 27, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Oct 30, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Cast-qual warnings fix.
parent
b7669153
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
device.c
dlls/d3d9/device.c
+3
-3
volume.c
dlls/d3d9/volume.c
+1
-1
volumetexture.c
dlls/d3d9/volumetexture.c
+2
-2
No files found.
dlls/d3d9/device.c
View file @
3ac7720f
...
...
@@ -230,7 +230,7 @@ static void WINAPI IDirect3DDevice9Impl_SetGammaRamp(LPDIRECT3DDEVICE9 iface, UI
TRACE
(
"(%p) Relay
\n
"
,
This
);
/* Note: D3DGAMMARAMP is compatible with WINED3DGAMMARAMP */
return
IWineD3DDevice_SetGammaRamp
(
This
->
WineD3DDevice
,
iSwapChain
,
Flags
,
(
WINED3DGAMMARAMP
*
)
pRamp
);
return
IWineD3DDevice_SetGammaRamp
(
This
->
WineD3DDevice
,
iSwapChain
,
Flags
,
(
CONST
WINED3DGAMMARAMP
*
)
pRamp
);
}
static
void
WINAPI
IDirect3DDevice9Impl_GetGammaRamp
(
LPDIRECT3DDEVICE9
iface
,
UINT
iSwapChain
,
D3DGAMMARAMP
*
pRamp
)
{
...
...
@@ -850,13 +850,13 @@ static HRESULT WINAPI IDirect3DDevice9Impl_GetIndices(LPDIRECT3DDEVICE9 iface,
static
HRESULT
WINAPI
IDirect3DDevice9Impl_DrawRectPatch
(
LPDIRECT3DDEVICE9
iface
,
UINT
Handle
,
CONST
float
*
pNumSegs
,
CONST
D3DRECTPATCH_INFO
*
pRectPatchInfo
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
return
IWineD3DDevice_DrawRectPatch
(
This
->
WineD3DDevice
,
Handle
,
pNumSegs
,
(
WINED3DRECTPATCH_INFO
*
)
pRectPatchInfo
);
return
IWineD3DDevice_DrawRectPatch
(
This
->
WineD3DDevice
,
Handle
,
pNumSegs
,
(
CONST
WINED3DRECTPATCH_INFO
*
)
pRectPatchInfo
);
}
/*http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directx9_c/directx/graphics/reference/d3d/interfaces/idirect3ddevice9/DrawTriPatch.asp*/
static
HRESULT
WINAPI
IDirect3DDevice9Impl_DrawTriPatch
(
LPDIRECT3DDEVICE9
iface
,
UINT
Handle
,
CONST
float
*
pNumSegs
,
CONST
D3DTRIPATCH_INFO
*
pTriPatchInfo
)
{
IDirect3DDevice9Impl
*
This
=
(
IDirect3DDevice9Impl
*
)
iface
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
return
IWineD3DDevice_DrawTriPatch
(
This
->
WineD3DDevice
,
Handle
,
pNumSegs
,
(
WINED3DTRIPATCH_INFO
*
)
pTriPatchInfo
);
return
IWineD3DDevice_DrawTriPatch
(
This
->
WineD3DDevice
,
Handle
,
pNumSegs
,
(
CONST
WINED3DTRIPATCH_INFO
*
)
pTriPatchInfo
);
}
static
HRESULT
WINAPI
IDirect3DDevice9Impl_DeletePatch
(
LPDIRECT3DDEVICE9
iface
,
UINT
Handle
)
{
...
...
dlls/d3d9/volume.c
View file @
3ac7720f
...
...
@@ -173,7 +173,7 @@ static HRESULT WINAPI IDirect3DVolume9Impl_GetDesc(LPDIRECT3DVOLUME9 iface, D3DV
static
HRESULT
WINAPI
IDirect3DVolume9Impl_LockBox
(
LPDIRECT3DVOLUME9
iface
,
D3DLOCKED_BOX
*
pLockedVolume
,
CONST
D3DBOX
*
pBox
,
DWORD
Flags
)
{
IDirect3DVolume9Impl
*
This
=
(
IDirect3DVolume9Impl
*
)
iface
;
TRACE
(
"(%p) relay %p %p %p %d
\n
"
,
This
,
This
->
wineD3DVolume
,
pLockedVolume
,
pBox
,
Flags
);
return
IWineD3DVolume_LockBox
(
This
->
wineD3DVolume
,
(
WINED3DLOCKED_BOX
*
)
pLockedVolume
,
(
WINED3DBOX
*
)
pBox
,
Flags
);
return
IWineD3DVolume_LockBox
(
This
->
wineD3DVolume
,
(
WINED3DLOCKED_BOX
*
)
pLockedVolume
,
(
CONST
WINED3DBOX
*
)
pBox
,
Flags
);
}
static
HRESULT
WINAPI
IDirect3DVolume9Impl_UnlockBox
(
LPDIRECT3DVOLUME9
iface
)
{
...
...
dlls/d3d9/volumetexture.c
View file @
3ac7720f
...
...
@@ -190,7 +190,7 @@ static HRESULT WINAPI IDirect3DVolumeTexture9Impl_GetVolumeLevel(LPDIRECT3DVOLUM
static
HRESULT
WINAPI
IDirect3DVolumeTexture9Impl_LockBox
(
LPDIRECT3DVOLUMETEXTURE9
iface
,
UINT
Level
,
D3DLOCKED_BOX
*
pLockedVolume
,
CONST
D3DBOX
*
pBox
,
DWORD
Flags
)
{
IDirect3DVolumeTexture9Impl
*
This
=
(
IDirect3DVolumeTexture9Impl
*
)
iface
;
TRACE
(
"(%p) Relay %p %p %p %d
\n
"
,
This
,
This
->
wineD3DVolumeTexture
,
pLockedVolume
,
pBox
,
Flags
);
return
IWineD3DVolumeTexture_LockBox
(
This
->
wineD3DVolumeTexture
,
Level
,
(
WINED3DLOCKED_BOX
*
)
pLockedVolume
,
(
WINED3DBOX
*
)
pBox
,
Flags
);
return
IWineD3DVolumeTexture_LockBox
(
This
->
wineD3DVolumeTexture
,
Level
,
(
WINED3DLOCKED_BOX
*
)
pLockedVolume
,
(
CONST
WINED3DBOX
*
)
pBox
,
Flags
);
}
static
HRESULT
WINAPI
IDirect3DVolumeTexture9Impl_UnlockBox
(
LPDIRECT3DVOLUMETEXTURE9
iface
,
UINT
Level
)
{
...
...
@@ -202,7 +202,7 @@ static HRESULT WINAPI IDirect3DVolumeTexture9Impl_UnlockBox(LPDIRECT3DVOLUMETEXT
static
HRESULT
WINAPI
IDirect3DVolumeTexture9Impl_AddDirtyBox
(
LPDIRECT3DVOLUMETEXTURE9
iface
,
CONST
D3DBOX
*
pDirtyBox
)
{
IDirect3DVolumeTexture9Impl
*
This
=
(
IDirect3DVolumeTexture9Impl
*
)
iface
;
TRACE
(
"(%p) Relay
\n
"
,
This
);
return
IWineD3DVolumeTexture_AddDirtyBox
(
This
->
wineD3DVolumeTexture
,
(
WINED3DBOX
*
)
pDirtyBox
);
return
IWineD3DVolumeTexture_AddDirtyBox
(
This
->
wineD3DVolumeTexture
,
(
CONST
WINED3DBOX
*
)
pDirtyBox
);
}
...
...
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