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
142bcb5d
Commit
142bcb5d
authored
Aug 27, 2015
by
Stefan Dösinger
Committed by
Alexandre Julliard
Aug 28, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxgi/tests: We don't need a custom window class.
parent
0933332c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
device.c
dlls/dxgi/tests/device.c
+1
-7
No files found.
dlls/dxgi/tests/device.c
View file @
142bcb5d
...
...
@@ -396,7 +396,6 @@ static void test_createswapchain(void)
IDXGISwapChain
*
swapchain
;
DXGI_SWAP_CHAIN_DESC
creation_desc
,
result_desc
;
HRESULT
hr
;
WNDCLASSA
wc
=
{
0
};
UINT
i
;
const
struct
refresh_rates
refresh_list
[]
=
...
...
@@ -414,11 +413,6 @@ static void test_createswapchain(void)
return
;
}
wc
.
lpfnWndProc
=
DefWindowProcA
;
wc
.
lpszClassName
=
"dxgi_test_wc"
;
RegisterClassA
(
&
wc
);
creation_desc
.
OutputWindow
=
0
;
creation_desc
.
BufferDesc
.
Width
=
800
;
creation_desc
.
BufferDesc
.
Height
=
600
;
...
...
@@ -431,7 +425,7 @@ static void test_createswapchain(void)
creation_desc
.
SampleDesc
.
Quality
=
0
;
creation_desc
.
BufferUsage
=
DXGI_USAGE_RENDER_TARGET_OUTPUT
;
creation_desc
.
BufferCount
=
1
;
creation_desc
.
OutputWindow
=
CreateWindowA
(
"
dxgi_test_w
c"
,
"dxgi_test"
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
);
creation_desc
.
OutputWindow
=
CreateWindowA
(
"
stati
c"
,
"dxgi_test"
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
);
creation_desc
.
Windowed
=
TRUE
;
creation_desc
.
SwapEffect
=
DXGI_SWAP_EFFECT_DISCARD
;
creation_desc
.
Flags
=
0
;
...
...
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