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
45a1aae0
Commit
45a1aae0
authored
Oct 29, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 29, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d8/tests: Use explicit A calls.
parent
f7067233
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
49 additions
and
35 deletions
+49
-35
Makefile.in
dlls/d3d8/tests/Makefile.in
+0
-1
device.c
dlls/d3d8/tests/device.c
+40
-25
stateblock.c
dlls/d3d8/tests/stateblock.c
+4
-4
visual.c
dlls/d3d8/tests/visual.c
+5
-5
No files found.
dlls/d3d8/tests/Makefile.in
View file @
45a1aae0
TESTDLL
=
d3d8.dll
IMPORTS
=
user32
EXTRADEFS
=
-U__WINESRC__
-DWINE_STRICT_PROTOTYPES
-DWINE_NO_NAMELESS_EXTENSION
-DWIDL_C_INLINE_WRAPPERS
C_SRCS
=
\
device.c
\
...
...
dlls/d3d8/tests/device.c
View file @
45a1aae0
This diff is collapsed.
Click to expand it.
dlls/d3d8/tests/stateblock.c
View file @
45a1aae0
...
...
@@ -25,12 +25,12 @@ static DWORD texture_stages;
static
HWND
create_window
(
void
)
{
WNDCLASS
wc
=
{
0
};
wc
.
lpfnWndProc
=
DefWindowProc
;
WNDCLASS
A
wc
=
{
0
};
wc
.
lpfnWndProc
=
DefWindowProc
A
;
wc
.
lpszClassName
=
"d3d8_test_wc"
;
RegisterClass
(
&
wc
);
RegisterClass
A
(
&
wc
);
return
CreateWindow
(
"d3d8_test_wc"
,
"d3d8_test"
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
);
return
CreateWindow
A
(
"d3d8_test_wc"
,
"d3d8_test"
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
);
}
static
HRESULT
init_d3d8
(
HMODULE
d3d8_module
,
IDirect3DDevice8
**
device
,
D3DPRESENT_PARAMETERS
*
device_pparams
)
...
...
dlls/d3d8/tests/visual.c
View file @
45a1aae0
...
...
@@ -37,14 +37,14 @@ struct vec4
static
HWND
create_window
(
void
)
{
WNDCLASS
wc
=
{
0
};
WNDCLASS
A
wc
=
{
0
};
HWND
ret
;
wc
.
lpfnWndProc
=
DefWindowProc
;
wc
.
lpfnWndProc
=
DefWindowProc
A
;
wc
.
lpszClassName
=
"d3d8_test_wc"
;
RegisterClass
(
&
wc
);
RegisterClass
A
(
&
wc
);
ret
=
CreateWindow
(
"d3d8_test_wc"
,
"d3d8_test"
,
WS_POPUP
|
WS_SYSMENU
,
20
,
20
,
640
,
480
,
0
,
0
,
0
,
0
);
ret
=
CreateWindow
A
(
"d3d8_test_wc"
,
"d3d8_test"
,
WS_POPUP
|
WS_SYSMENU
,
20
,
20
,
640
,
480
,
0
,
0
,
0
,
0
);
ShowWindow
(
ret
,
SW_SHOW
);
return
ret
;
}
...
...
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