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
e371085a
Commit
e371085a
authored
Sep 24, 2019
by
Matteo Bruni
Committed by
Alexandre Julliard
Sep 24, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Relax a block alignment check.
Signed-off-by:
Matteo Bruni
<
mbruni@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b744a309
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
5 deletions
+1
-5
surface.c
dlls/d3dx9_36/surface.c
+1
-5
No files found.
dlls/d3dx9_36/surface.c
View file @
e371085a
...
...
@@ -1905,11 +1905,7 @@ HRESULT WINAPI D3DXLoadSurfaceFromMemory(IDirect3DSurface9 *dst_surface,
&&
color_key
==
0
)
/* Simple copy. */
{
if
(
src_rect
->
left
&
(
srcformatdesc
->
block_width
-
1
)
||
src_rect
->
top
&
(
srcformatdesc
->
block_height
-
1
)
||
(
src_rect
->
right
&
(
srcformatdesc
->
block_width
-
1
)
&&
src_size
.
width
!=
surfdesc
.
Width
)
||
(
src_rect
->
bottom
&
(
srcformatdesc
->
block_height
-
1
)
&&
src_size
.
height
!=
surfdesc
.
Height
))
||
src_rect
->
top
&
(
srcformatdesc
->
block_height
-
1
))
{
WARN
(
"Source rect %s is misaligned.
\n
"
,
wine_dbgstr_rect
(
src_rect
));
unlock_surface
(
dst_surface
,
dst_rect
,
surface
,
FALSE
);
...
...
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