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
a17abf8d
Commit
a17abf8d
authored
Oct 30, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Oct 30, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9/tests: Use explicit A calls.
parent
3528393d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
21 additions
and
23 deletions
+21
-23
Makefile.in
dlls/d3d9/tests/Makefile.in
+0
-1
d3d9ex.c
dlls/d3d9/tests/d3d9ex.c
+6
-7
device.c
dlls/d3d9/tests/device.c
+0
-0
stateblock.c
dlls/d3d9/tests/stateblock.c
+5
-5
vertexdeclaration.c
dlls/d3d9/tests/vertexdeclaration.c
+5
-5
visual.c
dlls/d3d9/tests/visual.c
+5
-5
No files found.
dlls/d3d9/tests/Makefile.in
View file @
a17abf8d
TESTDLL
=
d3d9.dll
IMPORTS
=
user32
EXTRADEFS
=
-U__WINESRC__
-DWINE_STRICT_PROTOTYPES
-DWINE_NO_NAMELESS_EXTENSION
-DWIDL_C_INLINE_WRAPPERS
C_SRCS
=
\
d3d9ex.c
\
...
...
dlls/d3d9/tests/d3d9ex.c
View file @
a17abf8d
...
...
@@ -40,15 +40,14 @@ static HRESULT (WINAPI *pDirect3DCreate9Ex)(UINT SDKVersion, IDirect3D9Ex **d3d9
static
HWND
create_window
(
void
)
{
WNDCLASS
wc
=
{
0
};
HWND
ret
;
wc
.
lpfnWndProc
=
DefWindowProc
;
WNDCLASS
A
wc
=
{
0
};
wc
.
lpfnWndProc
=
DefWindowProc
A
;
wc
.
lpszClassName
=
"d3d9_test_wc"
;
RegisterClass
(
&
wc
);
RegisterClass
A
(
&
wc
);
ret
=
CreateWindow
(
"d3d9_test_wc"
,
"d3d9_test"
,
WS_MAXIMIZE
|
WS_VISIBLE
|
WS_CAPTION
,
0
,
0
,
640
,
480
,
0
,
0
,
0
,
0
);
return
ret
;
return
CreateWindowA
(
"d3d9_test_wc"
,
"d3d9_test"
,
WS_MAXIMIZE
|
WS_VISIBLE
|
WS_CAPTION
,
0
,
0
,
640
,
480
,
0
,
0
,
0
,
0
);
}
static
IDirect3DDevice9Ex
*
create_device
(
HWND
device_window
,
HWND
focus_window
,
BOOL
windowed
)
...
...
dlls/d3d9/tests/device.c
View file @
a17abf8d
This diff is collapsed.
Click to expand it.
dlls/d3d9/tests/stateblock.c
View file @
a17abf8d
...
...
@@ -27,13 +27,13 @@ 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
=
"d3d9_test_wc"
;
RegisterClass
(
&
wc
);
RegisterClass
A
(
&
wc
);
return
CreateWindow
(
"d3d9_test_wc"
,
"d3d9_test"
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
);
return
CreateWindow
A
(
"d3d9_test_wc"
,
"d3d9_test"
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
);
}
static
HRESULT
init_d3d9
(
...
...
dlls/d3d9/tests/vertexdeclaration.c
View file @
a17abf8d
...
...
@@ -29,13 +29,13 @@ static HMODULE d3d9_handle = 0;
static
HWND
create_window
(
void
)
{
WNDCLASS
wc
=
{
0
};
wc
.
lpfnWndProc
=
DefWindowProc
;
WNDCLASS
A
wc
=
{
0
};
wc
.
lpfnWndProc
=
DefWindowProc
A
;
wc
.
lpszClassName
=
"d3d9_test_wc"
;
RegisterClass
(
&
wc
);
RegisterClass
A
(
&
wc
);
return
CreateWindow
(
"d3d9_test_wc"
,
"d3d9_test"
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
);
return
CreateWindow
A
(
"d3d9_test_wc"
,
"d3d9_test"
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
);
}
static
IDirect3DDevice9
*
init_d3d9
(
void
)
...
...
dlls/d3d9/tests/visual.c
View file @
a17abf8d
...
...
@@ -46,14 +46,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
=
"d3d9_test_wc"
;
RegisterClass
(
&
wc
);
RegisterClass
A
(
&
wc
);
ret
=
CreateWindow
(
"d3d9_test_wc"
,
"d3d9_test"
,
WS_SYSMENU
|
WS_POPUP
,
0
,
0
,
640
,
480
,
0
,
0
,
0
,
0
);
ret
=
CreateWindow
A
(
"d3d9_test_wc"
,
"d3d9_test"
,
WS_SYSMENU
|
WS_POPUP
,
0
,
0
,
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