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
a0da7b6d
Commit
a0da7b6d
authored
Mar 19, 2010
by
Paul Vriens
Committed by
Alexandre Julliard
Mar 19, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: Fix timeouts on Win9x/WinMe.
parent
dcb62f26
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
device.c
dlls/d3d9/tests/device.c
+4
-4
No files found.
dlls/d3d9/tests/device.c
View file @
a0da7b6d
...
@@ -2388,7 +2388,7 @@ static void test_wndproc(void)
...
@@ -2388,7 +2388,7 @@ static void test_wndproc(void)
HANDLE
thread
;
HANDLE
thread
;
LONG_PTR
proc
;
LONG_PTR
proc
;
ULONG
ref
;
ULONG
ref
;
DWORD
res
;
DWORD
res
,
tid
;
if
(
!
(
d3d9
=
pDirect3DCreate9
(
D3D_SDK_VERSION
)))
if
(
!
(
d3d9
=
pDirect3DCreate9
(
D3D_SDK_VERSION
)))
{
{
...
@@ -2409,7 +2409,7 @@ static void test_wndproc(void)
...
@@ -2409,7 +2409,7 @@ static void test_wndproc(void)
WS_MAXIMIZE
|
WS_VISIBLE
|
WS_CAPTION
,
0
,
0
,
640
,
480
,
0
,
0
,
0
,
0
);
WS_MAXIMIZE
|
WS_VISIBLE
|
WS_CAPTION
,
0
,
0
,
640
,
480
,
0
,
0
,
0
,
0
);
device_window
=
CreateWindowA
(
"d3d9_test_wndproc_wc"
,
"d3d9_test"
,
device_window
=
CreateWindowA
(
"d3d9_test_wndproc_wc"
,
"d3d9_test"
,
WS_MAXIMIZE
|
WS_VISIBLE
|
WS_CAPTION
,
0
,
0
,
640
,
480
,
0
,
0
,
0
,
0
);
WS_MAXIMIZE
|
WS_VISIBLE
|
WS_CAPTION
,
0
,
0
,
640
,
480
,
0
,
0
,
0
,
0
);
thread
=
CreateThread
(
NULL
,
0
,
wndproc_thread
,
&
thread_params
,
0
,
NULL
);
thread
=
CreateThread
(
NULL
,
0
,
wndproc_thread
,
&
thread_params
,
0
,
&
tid
);
ok
(
!!
thread
,
"Failed to create thread, last error %#x.
\n
"
,
GetLastError
());
ok
(
!!
thread
,
"Failed to create thread, last error %#x.
\n
"
,
GetLastError
());
res
=
WaitForSingleObject
(
thread_params
.
window_created
,
INFINITE
);
res
=
WaitForSingleObject
(
thread_params
.
window_created
,
INFINITE
);
...
@@ -2519,7 +2519,7 @@ static void test_wndproc_windowed(void)
...
@@ -2519,7 +2519,7 @@ static void test_wndproc_windowed(void)
HANDLE
thread
;
HANDLE
thread
;
LONG_PTR
proc
;
LONG_PTR
proc
;
ULONG
ref
;
ULONG
ref
;
DWORD
res
;
DWORD
res
,
tid
;
if
(
!
(
d3d9
=
pDirect3DCreate9
(
D3D_SDK_VERSION
)))
if
(
!
(
d3d9
=
pDirect3DCreate9
(
D3D_SDK_VERSION
)))
{
{
...
@@ -2540,7 +2540,7 @@ static void test_wndproc_windowed(void)
...
@@ -2540,7 +2540,7 @@ static void test_wndproc_windowed(void)
WS_MAXIMIZE
|
WS_VISIBLE
|
WS_CAPTION
,
0
,
0
,
640
,
480
,
0
,
0
,
0
,
0
);
WS_MAXIMIZE
|
WS_VISIBLE
|
WS_CAPTION
,
0
,
0
,
640
,
480
,
0
,
0
,
0
,
0
);
device_window
=
CreateWindowA
(
"d3d9_test_wndproc_wc"
,
"d3d9_test"
,
device_window
=
CreateWindowA
(
"d3d9_test_wndproc_wc"
,
"d3d9_test"
,
WS_MAXIMIZE
|
WS_VISIBLE
|
WS_CAPTION
,
0
,
0
,
640
,
480
,
0
,
0
,
0
,
0
);
WS_MAXIMIZE
|
WS_VISIBLE
|
WS_CAPTION
,
0
,
0
,
640
,
480
,
0
,
0
,
0
,
0
);
thread
=
CreateThread
(
NULL
,
0
,
wndproc_thread
,
&
thread_params
,
0
,
NULL
);
thread
=
CreateThread
(
NULL
,
0
,
wndproc_thread
,
&
thread_params
,
0
,
&
tid
);
ok
(
!!
thread
,
"Failed to create thread, last error %#x.
\n
"
,
GetLastError
());
ok
(
!!
thread
,
"Failed to create thread, last error %#x.
\n
"
,
GetLastError
());
res
=
WaitForSingleObject
(
thread_params
.
window_created
,
INFINITE
);
res
=
WaitForSingleObject
(
thread_params
.
window_created
,
INFINITE
);
...
...
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