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
f4005c37
Commit
f4005c37
authored
Oct 16, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8: Get rid of some unused variables in IDirect3DDevice8Impl_CopyRects() (LLVM/Clang).
parent
8846f8ac
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
device.c
dlls/d3d8/device.c
+0
-9
No files found.
dlls/d3d8/device.c
View file @
f4005c37
...
...
@@ -882,9 +882,6 @@ static HRESULT WINAPI IDirect3DDevice8Impl_CopyRects(LPDIRECT3DDEVICE8 iface, ID
HRESULT
hr
=
WINED3D_OK
;
WINED3DFORMAT
srcFormat
,
destFormat
;
UINT
srcWidth
,
destWidth
;
UINT
srcHeight
,
destHeight
;
UINT
srcSize
;
WINED3DSURFACE_DESC
winedesc
;
TRACE
(
"(%p) pSrcSur=%p, pSourceRects=%p, cRects=%d, pDstSur=%p, pDestPtsArr=%p
\n
"
,
iface
,
...
...
@@ -896,14 +893,9 @@ static HRESULT WINAPI IDirect3DDevice8Impl_CopyRects(LPDIRECT3DDEVICE8 iface, ID
wined3d_mutex_lock
();
IWineD3DSurface_GetDesc
(
Source
->
wineD3DSurface
,
&
winedesc
);
srcFormat
=
winedesc
.
format
;
srcWidth
=
winedesc
.
width
;
srcHeight
=
winedesc
.
height
;
srcSize
=
winedesc
.
size
;
IWineD3DSurface_GetDesc
(
Dest
->
wineD3DSurface
,
&
winedesc
);
destFormat
=
winedesc
.
format
;
destWidth
=
winedesc
.
width
;
destHeight
=
winedesc
.
height
;
/* Check that the source and destination formats match */
if
(
srcFormat
!=
destFormat
&&
WINED3DFMT_UNKNOWN
!=
destFormat
)
{
...
...
@@ -913,7 +905,6 @@ static HRESULT WINAPI IDirect3DDevice8Impl_CopyRects(LPDIRECT3DDEVICE8 iface, ID
}
else
if
(
WINED3DFMT_UNKNOWN
==
destFormat
)
{
TRACE
(
"(%p) : Converting destination surface from WINED3DFMT_UNKNOWN to the source format
\n
"
,
iface
);
IWineD3DSurface_SetFormat
(
Dest
->
wineD3DSurface
,
srcFormat
);
destFormat
=
srcFormat
;
}
/* Quick if complete copy ... */
...
...
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