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
3c9aa222
Commit
3c9aa222
authored
Sep 25, 2011
by
André Hentschel
Committed by
Alexandre Julliard
Sep 26, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: Don't test function directly when reporting GetLastError().
parent
150a3308
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
device.c
dlls/d3d9/tests/device.c
+3
-1
No files found.
dlls/d3d9/tests/device.c
View file @
3c9aa222
...
...
@@ -2858,6 +2858,7 @@ static void test_reset_fullscreen(void)
WNDCLASSEX
wc
=
{
0
};
IDirect3DDevice9
*
device
=
NULL
;
IDirect3D9
*
d3d
=
NULL
;
ATOM
atom
;
static
const
struct
message
messages
[]
=
{
{
WM_ACTIVATEAPP
,
FOCUS_WINDOW
},
...
...
@@ -2872,7 +2873,8 @@ static void test_reset_fullscreen(void)
wc
.
lpfnWndProc
=
test_proc
;
wc
.
lpszClassName
=
"test_reset_fullscreen"
;
ok
(
RegisterClassEx
(
&
wc
),
"Failed to register a new window class. GetLastError:%d
\n
"
,
GetLastError
());
atom
=
RegisterClassEx
(
&
wc
);
ok
(
atom
,
"Failed to register a new window class. GetLastError:%d
\n
"
,
GetLastError
());
device_window
=
focus_window
=
CreateWindowEx
(
0
,
wc
.
lpszClassName
,
"Test Reset Fullscreen"
,
0
,
0
,
0
,
screen_width
,
screen_height
,
NULL
,
NULL
,
NULL
,
NULL
);
ok
(
device_window
!=
NULL
,
"Failed to create a window. GetLastError:%d
\n
"
,
GetLastError
());
...
...
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