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
f85f733c
Commit
f85f733c
authored
Jan 15, 2014
by
Stefan Dösinger
Committed by
Alexandre Julliard
Jan 16, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36/tests: Use a window with a non-zero size.
parent
65bc678f
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
31 additions
and
19 deletions
+31
-19
core.c
dlls/d3dx9_36/tests/core.c
+2
-1
effect.c
dlls/d3dx9_36/tests/effect.c
+2
-1
line.c
dlls/d3dx9_36/tests/line.c
+2
-1
mesh.c
dlls/d3dx9_36/tests/mesh.c
+13
-7
shader.c
dlls/d3dx9_36/tests/shader.c
+6
-6
surface.c
dlls/d3dx9_36/tests/surface.c
+2
-1
texture.c
dlls/d3dx9_36/tests/texture.c
+2
-1
volume.c
dlls/d3dx9_36/tests/volume.c
+2
-1
No files found.
dlls/d3dx9_36/tests/core.c
View file @
f85f733c
...
...
@@ -1225,7 +1225,8 @@ START_TEST(core)
D3DPRESENT_PARAMETERS
d3dpp
;
HRESULT
hr
;
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
0
,
0
,
0
,
0
,
0
,
NULL
,
NULL
,
NULL
,
NULL
)))
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
WS_OVERLAPPEDWINDOW
,
0
,
0
,
640
,
480
,
NULL
,
NULL
,
NULL
,
NULL
)))
{
skip
(
"Couldn't create application window
\n
"
);
return
;
...
...
dlls/d3dx9_36/tests/effect.c
View file @
f85f733c
...
...
@@ -2691,7 +2691,8 @@ START_TEST(effect)
HRESULT
hr
;
ULONG
count
;
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
0
,
0
,
0
,
0
,
0
,
NULL
,
NULL
,
NULL
,
NULL
)))
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
WS_OVERLAPPEDWINDOW
,
0
,
0
,
640
,
480
,
NULL
,
NULL
,
NULL
,
NULL
)))
{
skip
(
"Couldn't create application window
\n
"
);
return
;
...
...
dlls/d3dx9_36/tests/line.c
View file @
f85f733c
...
...
@@ -123,7 +123,8 @@ START_TEST(line)
D3DPRESENT_PARAMETERS
d3dpp
;
HRESULT
hr
;
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
0
,
0
,
0
,
0
,
0
,
NULL
,
NULL
,
NULL
,
NULL
)))
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
WS_OVERLAPPEDWINDOW
,
0
,
0
,
640
,
480
,
NULL
,
NULL
,
NULL
,
NULL
)))
{
skip
(
"Couldn't create application window
\n
"
);
return
;
...
...
dlls/d3dx9_36/tests/mesh.c
View file @
f85f733c
...
...
@@ -121,7 +121,8 @@ static struct test_context *new_test_context(void)
D3DPRESENT_PARAMETERS
d3dpp
=
{
0
};
struct
test_context
*
test_context
;
if
(
!
(
hwnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
0
,
0
,
0
,
0
,
0
,
NULL
,
NULL
,
NULL
,
NULL
)))
if
(
!
(
hwnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
WS_OVERLAPPEDWINDOW
,
0
,
0
,
640
,
480
,
NULL
,
NULL
,
NULL
,
NULL
)))
{
skip
(
"Couldn't create application window
\n
"
);
goto
error
;
...
...
@@ -1175,7 +1176,8 @@ static void D3DXCreateMeshTest(void)
hr
=
D3DXCreateMesh
(
1
,
3
,
D3DXMESH_MANAGED
,
decl1
,
NULL
,
&
d3dxmesh
);
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Got result %x, expected %x (D3DERR_INVALIDCALL)
\n
"
,
hr
,
D3DERR_INVALIDCALL
);
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
0
,
0
,
0
,
0
,
0
,
NULL
,
NULL
,
NULL
,
NULL
)))
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
WS_OVERLAPPEDWINDOW
,
0
,
0
,
640
,
480
,
NULL
,
NULL
,
NULL
,
NULL
)))
{
skip
(
"Couldn't create application window
\n
"
);
return
;
...
...
@@ -1381,7 +1383,8 @@ static void D3DXCreateMeshFVFTest(void)
hr
=
D3DXCreateMeshFVF
(
1
,
3
,
D3DXMESH_MANAGED
,
D3DFVF_XYZ
|
D3DFVF_NORMAL
,
NULL
,
&
d3dxmesh
);
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Got result %x, expected %x (D3DERR_INVALIDCALL)
\n
"
,
hr
,
D3DERR_INVALIDCALL
);
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
0
,
0
,
0
,
0
,
0
,
NULL
,
NULL
,
NULL
,
NULL
)))
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
WS_OVERLAPPEDWINDOW
,
0
,
0
,
640
,
480
,
NULL
,
NULL
,
NULL
,
NULL
)))
{
skip
(
"Couldn't create application window
\n
"
);
return
;
...
...
@@ -2449,7 +2452,7 @@ static void D3DXCreateBoxTest(void)
return
;
}
wnd
=
CreateWindowA
(
"d3dx9_test_wc"
,
"d3dx9_test"
,
WS_
SYSMENU
|
WS_POPUP
,
wnd
=
CreateWindowA
(
"d3dx9_test_wc"
,
"d3dx9_test"
,
WS_
OVERLAPPEDWINDOW
,
0
,
0
,
640
,
480
,
0
,
0
,
0
,
0
);
ok
(
wnd
!=
NULL
,
"Expected to have a window, received NULL
\n
"
);
if
(
!
wnd
)
...
...
@@ -2750,7 +2753,8 @@ static void D3DXCreateSphereTest(void)
hr
=
D3DXCreateSphere
(
NULL
,
0
.
0
f
,
0
,
1
,
NULL
,
NULL
);
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Got result %x, expected %x (D3DERR_INVALIDCALL)
\n
"
,
hr
,
D3DERR_INVALIDCALL
);
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
0
,
0
,
0
,
0
,
0
,
NULL
,
NULL
,
NULL
,
NULL
)))
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
WS_OVERLAPPEDWINDOW
,
0
,
0
,
640
,
480
,
NULL
,
NULL
,
NULL
,
NULL
)))
{
skip
(
"Couldn't create application window
\n
"
);
return
;
...
...
@@ -2992,7 +2996,8 @@ static void D3DXCreateCylinderTest(void)
hr
=
D3DXCreateCylinder
(
NULL
,
1
.
0
f
,
1
.
0
f
,
1
.
0
f
,
2
,
1
,
&
cylinder
,
NULL
);
ok
(
hr
==
D3DERR_INVALIDCALL
,
"Got result %x, expected %x (D3DERR_INVALIDCALL)
\n
"
,
hr
,
D3DERR_INVALIDCALL
);
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
0
,
0
,
0
,
0
,
0
,
NULL
,
NULL
,
NULL
,
NULL
)))
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
WS_OVERLAPPEDWINDOW
,
0
,
0
,
640
,
480
,
NULL
,
NULL
,
NULL
,
NULL
)))
{
skip
(
"Couldn't create application window
\n
"
);
return
;
...
...
@@ -4282,7 +4287,8 @@ static void D3DXGenerateAdjacencyTest(void)
},
};
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
0
,
0
,
0
,
0
,
0
,
NULL
,
NULL
,
NULL
,
NULL
)))
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
WS_OVERLAPPEDWINDOW
,
0
,
0
,
640
,
480
,
NULL
,
NULL
,
NULL
,
NULL
)))
{
skip
(
"Couldn't create application window
\n
"
);
return
;
...
...
dlls/d3dx9_36/tests/shader.c
View file @
f85f733c
...
...
@@ -1423,8 +1423,8 @@ static void test_setting_constants(void)
HRESULT
hr
;
ULONG
refcnt
;
/* Create the device to use for our tests */
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
0
,
0
,
0
,
0
,
0
,
NULL
,
NULL
,
NULL
,
NULL
)))
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
WS_OVERLAPPEDWINDOW
,
0
,
0
,
640
,
48
0
,
NULL
,
NULL
,
NULL
,
NULL
)))
{
skip
(
"Couldn't create application window
\n
"
);
return
;
...
...
@@ -6067,8 +6067,8 @@ static void test_registerset(void)
ULONG
count
;
D3DCAPS9
caps
;
/* Create the device to use for our tests */
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
0
,
0
,
0
,
0
,
0
,
NULL
,
NULL
,
NULL
,
NULL
)))
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
WS_OVERLAPPEDWINDOW
,
0
,
0
,
640
,
48
0
,
NULL
,
NULL
,
NULL
,
NULL
)))
{
skip
(
"Couldn't create application window
\n
"
);
return
;
...
...
@@ -6371,8 +6371,8 @@ static void test_registerset_defaults(void)
ULONG
count
;
D3DCAPS9
caps
;
/* Create the device to use for our tests */
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
0
,
0
,
0
,
0
,
0
,
NULL
,
NULL
,
NULL
,
NULL
)))
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
WS_OVERLAPPEDWINDOW
,
0
,
0
,
640
,
48
0
,
NULL
,
NULL
,
NULL
,
NULL
)))
{
skip
(
"Couldn't create application window
\n
"
);
return
;
...
...
dlls/d3dx9_36/tests/surface.c
View file @
f85f733c
...
...
@@ -1281,7 +1281,8 @@ START_TEST(surface)
D3DPRESENT_PARAMETERS
d3dpp
;
HRESULT
hr
;
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
0
,
0
,
0
,
0
,
0
,
NULL
,
NULL
,
NULL
,
NULL
)))
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
WS_OVERLAPPEDWINDOW
,
0
,
0
,
640
,
480
,
NULL
,
NULL
,
NULL
,
NULL
)))
{
skip
(
"Couldn't create application window
\n
"
);
return
;
...
...
dlls/d3dx9_36/tests/texture.c
View file @
f85f733c
...
...
@@ -1786,7 +1786,8 @@ START_TEST(texture)
D3DPRESENT_PARAMETERS
d3dpp
;
HRESULT
hr
;
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
0
,
0
,
0
,
0
,
0
,
NULL
,
NULL
,
NULL
,
NULL
)))
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
WS_OVERLAPPEDWINDOW
,
0
,
0
,
640
,
480
,
NULL
,
NULL
,
NULL
,
NULL
)))
{
skip
(
"Couldn't create application window
\n
"
);
return
;
...
...
dlls/d3dx9_36/tests/volume.c
View file @
f85f733c
...
...
@@ -267,7 +267,8 @@ START_TEST(volume)
D3DPRESENT_PARAMETERS
d3dpp
;
HRESULT
hr
;
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
0
,
0
,
0
,
0
,
0
,
NULL
,
NULL
,
NULL
,
NULL
)))
if
(
!
(
wnd
=
CreateWindowA
(
"static"
,
"d3dx9_test"
,
WS_OVERLAPPEDWINDOW
,
0
,
0
,
640
,
480
,
NULL
,
NULL
,
NULL
,
NULL
)))
{
skip
(
"Couldn't create application window
\n
"
);
return
;
...
...
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