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
93ec41fd
Commit
93ec41fd
authored
Oct 10, 2006
by
H. Verbeet
Committed by
Alexandre Julliard
Oct 11, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Disable the surface pitch size test for now, just check alignment instead.
parent
e05035da
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
surface.c
dlls/d3d9/tests/surface.c
+7
-2
No files found.
dlls/d3d9/tests/surface.c
View file @
93ec41fd
...
...
@@ -127,8 +127,13 @@ static void test_surface_alignment(IDirect3DDevice9 *device_ptr)
D3DLOCKED_RECT
lockedRect
;
hr
=
IDirect3DSurface9_LockRect
(
surface_ptr
,
&
lockedRect
,
NULL
,
0
);
ok
(
hr
==
D3D_OK
,
"IDirect3DSurface9_LockRect returned %08x
\n
"
,
hr
);
/* test is deactivated until out np2 support doesn't report the full power of 2 pitch to the app */
todo_wine
ok
(
lockedRect
.
Pitch
==
12
,
"Got pitch %d, expected 12
\n
"
,
lockedRect
.
Pitch
);
ok
(
!
(
lockedRect
.
Pitch
&
3
),
"Surface pitch %d is not 32-bit aligned
\n
"
,
lockedRect
.
Pitch
);
#if 0
/* Some applications also depend on the exact pitch, rather than just
* the alignment. However, this test will fail or succeed depending
* on the NP2 mode we're using. */
ok(lockedRect.Pitch == 12, "Got pitch %d, expected 12\n", lockedRect.Pitch);
#endif
hr
=
IDirect3DSurface9_UnlockRect
(
surface_ptr
);
IDirect3DSurface9_Release
(
surface_ptr
);
}
...
...
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