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
b49a9cbf
Commit
b49a9cbf
authored
Nov 07, 2009
by
Stefan Dösinger
Committed by
Alexandre Julliard
Nov 09, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Run the visual tests in a window.
parent
69612bb2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
visual.c
dlls/d3d9/tests/visual.c
+3
-2
No files found.
dlls/d3d9/tests/visual.c
View file @
b49a9cbf
...
...
@@ -43,7 +43,8 @@ static HWND create_window(void)
RegisterClass
(
&
wc
);
ret
=
CreateWindow
(
"d3d9_test_wc"
,
"d3d9_test"
,
WS_MAXIMIZE
|
WS_VISIBLE
|
WS_CAPTION
,
0
,
0
,
640
,
480
,
0
,
0
,
0
,
0
);
WS_SYSMENU
|
WS_POPUP
,
0
,
0
,
640
,
480
,
0
,
0
,
0
,
0
);
ShowWindow
(
ret
,
SW_SHOW
);
return
ret
;
}
...
...
@@ -177,7 +178,7 @@ static IDirect3DDevice9 *init_d3d9(void)
}
ZeroMemory
(
&
present_parameters
,
sizeof
(
present_parameters
));
present_parameters
.
Windowed
=
FALS
E
;
present_parameters
.
Windowed
=
TRU
E
;
present_parameters
.
hDeviceWindow
=
create_window
();
present_parameters
.
SwapEffect
=
D3DSWAPEFFECT_DISCARD
;
present_parameters
.
BackBufferWidth
=
640
;
...
...
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