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
9329e996
Commit
9329e996
authored
Jul 08, 2014
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jul 09, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: Fix some ok() call style issues.
parent
0b61e22f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
device.c
dlls/d3d9/tests/device.c
+3
-3
No files found.
dlls/d3d9/tests/device.c
View file @
9329e996
...
...
@@ -7279,7 +7279,7 @@ static void test_volume_locking(void)
}
else
{
ok
(
locked_box
.
pBits
==
NULL
,
"Failed lock set pBits = %p, expected NULL.
\n
"
,
locked_box
.
pBits
);
ok
(
locked_box
.
pBits
==
NULL
,
"Failed lock set pBits = %p, expected NULL.
\n
"
,
locked_box
.
pBits
);
}
IDirect3DVolumeTexture9_Release
(
texture
);
}
...
...
@@ -8885,13 +8885,13 @@ static void test_writeonly_resource(void)
hr
=
IDirect3DVertexBuffer9_Lock
(
buffer
,
0
,
0
,
&
ptr
,
0
);
ok
(
SUCCEEDED
(
hr
),
"Failed to lock vertex buffer, hr %#x.
\n
"
,
hr
);
ok
(
!
memcmp
(
ptr
,
quad
,
sizeof
(
quad
)),
"Got unexpected vertex buffer data.
\n
"
);
ok
(
!
memcmp
(
ptr
,
quad
,
sizeof
(
quad
)),
"Got unexpected vertex buffer data.
\n
"
);
hr
=
IDirect3DVertexBuffer9_Unlock
(
buffer
);
ok
(
SUCCEEDED
(
hr
),
"Failed to unlock vertex buffer, hr %#x.
\n
"
,
hr
);
hr
=
IDirect3DVertexBuffer9_Lock
(
buffer
,
0
,
0
,
&
ptr
,
D3DLOCK_READONLY
);
ok
(
SUCCEEDED
(
hr
),
"Failed to lock vertex buffer, hr %#x.
\n
"
,
hr
);
ok
(
!
memcmp
(
ptr
,
quad
,
sizeof
(
quad
)),
"Got unexpected vertex buffer data.
\n
"
);
ok
(
!
memcmp
(
ptr
,
quad
,
sizeof
(
quad
)),
"Got unexpected vertex buffer data.
\n
"
);
hr
=
IDirect3DVertexBuffer9_Unlock
(
buffer
);
ok
(
SUCCEEDED
(
hr
),
"Failed to unlock vertex buffer, hr %#x.
\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