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
ee9b409f
Commit
ee9b409f
authored
May 17, 2010
by
Roderick Colenbrander
Committed by
Alexandre Julliard
May 17, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use BltFast in UpdateSurface when desc.convert is set.
parent
ba8f0da2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
device.c
dlls/wined3d/device.c
+3
-3
No files found.
dlls/wined3d/device.c
View file @
ee9b409f
...
...
@@ -5236,7 +5236,7 @@ static HRESULT WINAPI IWineD3DDeviceImpl_UpdateSurface(IWineD3DDevice *iface,
UINT
src_w
,
src_h
;
UINT
dst_x
,
dst_y
;
DWORD
sampler
;
struct
wined3d_format_desc
d
ummy_d
esc
;
struct
wined3d_format_desc
desc
;
TRACE
(
"iface %p, src_surface %p, src_rect %s, dst_surface %p, dst_point %s.
\n
"
,
iface
,
src_surface
,
wine_dbgstr_rect
(
src_rect
),
...
...
@@ -5265,8 +5265,8 @@ static HRESULT WINAPI IWineD3DDeviceImpl_UpdateSurface(IWineD3DDevice *iface,
* surface to the destination's sysmem copy. If surface conversion is
* needed, use BltFast instead to copy in sysmem and use regular surface
* loading. */
d3dfmt_get_conv
(
dst_impl
,
FALSE
,
TRUE
,
&
d
ummy_d
esc
,
&
convert
);
if
(
convert
!=
NO_CONVERSION
)
d3dfmt_get_conv
(
dst_impl
,
FALSE
,
TRUE
,
&
desc
,
&
convert
);
if
(
convert
!=
NO_CONVERSION
||
desc
.
convert
)
return
IWineD3DSurface_BltFast
(
dst_surface
,
dst_x
,
dst_y
,
src_surface
,
src_rect
,
0
);
context
=
context_acquire
(
This
,
NULL
);
...
...
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