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
d6f17d68
Commit
d6f17d68
authored
Aug 28, 2011
by
Stefan Dösinger
Committed by
Alexandre Julliard
Sep 07, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Check the alignment, not the size.
parent
8e79a7e6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
overlay.c
dlls/ddraw/tests/overlay.c
+1
-1
No files found.
dlls/ddraw/tests/overlay.c
View file @
d6f17d68
...
...
@@ -215,7 +215,7 @@ static void yv12_test(void)
ok
(
desc
.
dwWidth
==
256
&&
desc
.
dwHeight
==
256
,
"Expected size 256x256, got %ux%u
\n
"
,
desc
.
dwWidth
,
desc
.
dwHeight
);
/* The overlay pitch seems to have 256 byte alignment */
ok
(
U1
(
desc
).
lPitch
==
256
,
"Unexpected pitch %u, expected 256
\n
"
,
U1
(
desc
).
lPitch
);
ok
(
(
U1
(
desc
).
lPitch
&
0xff
)
==
0
,
"Expected 256 byte aligned pitch, got %u
\n
"
,
U1
(
desc
).
lPitch
);
hr
=
IDirectDrawSurface7_Unlock
(
surface
,
NULL
);
ok
(
hr
==
DD_OK
,
"IDirectDrawSurface7_Unlock returned 0x%08x, expected DD_OK
\n
"
,
hr
);
...
...
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