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
30a504ba
Commit
30a504ba
authored
Oct 31, 2008
by
Henri Verbeet
Committed by
Alexandre Julliard
Nov 03, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8: Don't ignore the GetCursorInfo() return value (LLVM/Clang).
parent
373a4344
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
device.c
dlls/d3d8/tests/device.c
+3
-5
No files found.
dlls/d3d8/tests/device.c
View file @
30a504ba
...
@@ -629,7 +629,7 @@ static void test_cursor(void)
...
@@ -629,7 +629,7 @@ static void test_cursor(void)
memset
(
&
info
,
0
,
sizeof
(
info
));
memset
(
&
info
,
0
,
sizeof
(
info
));
info
.
cbSize
=
sizeof
(
info
);
info
.
cbSize
=
sizeof
(
info
);
hr
=
pGetCursorInfo
(
&
info
);
ok
(
pGetCursorInfo
(
&
info
),
"GetCursorInfo failed
\n
"
);
cur
=
info
.
hCursor
;
cur
=
info
.
hCursor
;
pD3d
=
pDirect3DCreate8
(
D3D_SDK_VERSION
);
pD3d
=
pDirect3DCreate8
(
D3D_SDK_VERSION
);
...
@@ -674,8 +674,7 @@ static void test_cursor(void)
...
@@ -674,8 +674,7 @@ static void test_cursor(void)
memset
(
&
info
,
0
,
sizeof
(
info
));
memset
(
&
info
,
0
,
sizeof
(
info
));
info
.
cbSize
=
sizeof
(
info
);
info
.
cbSize
=
sizeof
(
info
);
hr
=
pGetCursorInfo
(
&
info
);
ok
(
pGetCursorInfo
(
&
info
),
"GetCursorInfo failed
\n
"
);
ok
(
hr
!=
0
,
"GetCursorInfo returned %#08x
\n
"
,
hr
);
ok
(
info
.
flags
&
CURSOR_SHOWING
,
"The gdi cursor is hidden (%08x)
\n
"
,
info
.
flags
);
ok
(
info
.
flags
&
CURSOR_SHOWING
,
"The gdi cursor is hidden (%08x)
\n
"
,
info
.
flags
);
ok
(
info
.
hCursor
==
cur
,
"The cursor handle is %p
\n
"
,
info
.
hCursor
);
/* unchanged */
ok
(
info
.
hCursor
==
cur
,
"The cursor handle is %p
\n
"
,
info
.
hCursor
);
/* unchanged */
...
@@ -690,8 +689,7 @@ static void test_cursor(void)
...
@@ -690,8 +689,7 @@ static void test_cursor(void)
/* GDI cursor unchanged */
/* GDI cursor unchanged */
memset
(
&
info
,
0
,
sizeof
(
info
));
memset
(
&
info
,
0
,
sizeof
(
info
));
info
.
cbSize
=
sizeof
(
info
);
info
.
cbSize
=
sizeof
(
info
);
hr
=
pGetCursorInfo
(
&
info
);
ok
(
pGetCursorInfo
(
&
info
),
"GetCursorInfo failed
\n
"
);
ok
(
hr
!=
0
,
"GetCursorInfo returned %#08x
\n
"
,
hr
);
ok
(
info
.
flags
&
CURSOR_SHOWING
,
"The gdi cursor is hidden (%08x)
\n
"
,
info
.
flags
);
ok
(
info
.
flags
&
CURSOR_SHOWING
,
"The gdi cursor is hidden (%08x)
\n
"
,
info
.
flags
);
ok
(
info
.
hCursor
==
cur
,
"The cursor handle is %p
\n
"
,
info
.
hCursor
);
/* unchanged */
ok
(
info
.
hCursor
==
cur
,
"The cursor handle is %p
\n
"
,
info
.
hCursor
);
/* unchanged */
...
...
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