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
22af120a
Commit
22af120a
authored
Oct 16, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Oct 16, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dxgi/tests: Compile with -D__WINESRC__.
parent
f0392519
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Makefile.in
dlls/dxgi/tests/Makefile.in
+0
-1
device.c
dlls/dxgi/tests/device.c
+4
-4
No files found.
dlls/dxgi/tests/Makefile.in
View file @
22af120a
TESTDLL
=
dxgi.dll
IMPORTS
=
dxgi user32
EXTRADEFS
=
-U__WINESRC__
-DWINE_STRICT_PROTOTYPES
-DWINE_NO_NAMELESS_EXTENSION
-DWIDL_C_INLINE_WRAPPERS
C_SRCS
=
\
device.c
...
...
dlls/dxgi/tests/device.c
View file @
22af120a
...
...
@@ -308,7 +308,7 @@ static void test_createswapchain(IDXGIDevice *device)
IDXGISwapChain
*
swapchain
;
DXGI_SWAP_CHAIN_DESC
creation_desc
,
result_desc
;
HRESULT
hr
;
WNDCLASS
wc
=
{
0
};
WNDCLASS
A
wc
=
{
0
};
UINT
i
;
const
struct
refresh_rates
refresh_list
[]
=
...
...
@@ -321,10 +321,10 @@ static void test_createswapchain(IDXGIDevice *device)
};
wc
.
lpfnWndProc
=
DefWindowProc
;
wc
.
lpfnWndProc
=
DefWindowProc
A
;
wc
.
lpszClassName
=
"dxgi_test_wc"
;
RegisterClass
(
&
wc
);
RegisterClass
A
(
&
wc
);
creation_desc
.
OutputWindow
=
0
;
creation_desc
.
BufferDesc
.
Width
=
800
;
...
...
@@ -338,7 +338,7 @@ static void test_createswapchain(IDXGIDevice *device)
creation_desc
.
SampleDesc
.
Quality
=
0
;
creation_desc
.
BufferUsage
=
DXGI_USAGE_RENDER_TARGET_OUTPUT
;
creation_desc
.
BufferCount
=
1
;
creation_desc
.
OutputWindow
=
CreateWindow
(
"dxgi_test_wc"
,
"dxgi_test"
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
);
creation_desc
.
OutputWindow
=
CreateWindow
A
(
"dxgi_test_wc"
,
"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