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
0134df19
Commit
0134df19
authored
Nov 08, 2011
by
Octavian Voicu
Committed by
Alexandre Julliard
Nov 08, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw/tests: Fix a couple of copy-paste typos in test messages.
parent
79b93fff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
visual.c
dlls/ddraw/tests/visual.c
+12
-12
No files found.
dlls/ddraw/tests/visual.c
View file @
0134df19
...
...
@@ -1493,13 +1493,13 @@ static void D3D1_TextureMapBlendTest(void)
ok
(
hr
==
D3D_OK
,
"IDirect3DExecuteBuffer_SetExecuteData failed with %08x
\n
"
,
hr
);
hr
=
IDirect3DDevice_BeginScene
(
Direct3DDevice1
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice
3
_BeginScene failed with %08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice_BeginScene failed with %08x
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
IDirect3DDevice_Execute
(
Direct3DDevice1
,
ExecuteBuffer
,
Viewport
,
D3DEXECUTE_UNCLIPPED
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice_Execute failed, hr = %08x
\n
"
,
hr
);
hr
=
IDirect3DDevice_EndScene
(
Direct3DDevice1
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice
3
_EndScene failed, hr = %08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice_EndScene failed, hr = %08x
\n
"
,
hr
);
}
color
=
D3D1_getPixelColor
(
DirectDraw1
,
Surface1
,
5
,
5
);
...
...
@@ -1614,13 +1614,13 @@ static void D3D1_TextureMapBlendTest(void)
ok
(
hr
==
D3D_OK
,
"IDirect3DExecuteBuffer_SetExecuteData failed with %08x
\n
"
,
hr
);
hr
=
IDirect3DDevice_BeginScene
(
Direct3DDevice1
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice
3
_BeginScene failed with %08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice_BeginScene failed with %08x
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
IDirect3DDevice_Execute
(
Direct3DDevice1
,
ExecuteBuffer
,
Viewport
,
D3DEXECUTE_UNCLIPPED
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice_Execute failed, hr = %08x
\n
"
,
hr
);
hr
=
IDirect3DDevice_EndScene
(
Direct3DDevice1
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice
3
_EndScene failed, hr = %08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice_EndScene failed, hr = %08x
\n
"
,
hr
);
}
color
=
D3D1_getPixelColor
(
DirectDraw1
,
Surface1
,
5
,
5
);
...
...
@@ -1736,13 +1736,13 @@ static void D3D1_TextureMapBlendTest(void)
ok
(
hr
==
D3D_OK
,
"IDirect3DExecuteBuffer_SetExecuteData failed with %08x
\n
"
,
hr
);
hr
=
IDirect3DDevice_BeginScene
(
Direct3DDevice1
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice
3
_BeginScene failed with %08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice_BeginScene failed with %08x
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
IDirect3DDevice_Execute
(
Direct3DDevice1
,
ExecuteBuffer
,
Viewport
,
D3DEXECUTE_UNCLIPPED
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice_Execute failed, hr = %08x
\n
"
,
hr
);
hr
=
IDirect3DDevice_EndScene
(
Direct3DDevice1
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice
3
_EndScene failed, hr = %08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice_EndScene failed, hr = %08x
\n
"
,
hr
);
}
color
=
D3D1_getPixelColor
(
DirectDraw1
,
Surface1
,
5
,
5
);
...
...
@@ -1862,13 +1862,13 @@ static void D3D1_TextureMapBlendTest(void)
ok
(
hr
==
D3D_OK
,
"IDirect3DExecuteBuffer_SetExecuteData failed with %08x
\n
"
,
hr
);
hr
=
IDirect3DDevice_BeginScene
(
Direct3DDevice1
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice
3
_BeginScene failed with %08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice_BeginScene failed with %08x
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
IDirect3DDevice_Execute
(
Direct3DDevice1
,
ExecuteBuffer
,
Viewport
,
D3DEXECUTE_UNCLIPPED
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice_Execute failed, hr = %08x
\n
"
,
hr
);
hr
=
IDirect3DDevice_EndScene
(
Direct3DDevice1
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice
3
_EndScene failed, hr = %08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice_EndScene failed, hr = %08x
\n
"
,
hr
);
}
color
=
D3D1_getPixelColor
(
DirectDraw1
,
Surface1
,
5
,
5
);
...
...
@@ -2000,13 +2000,13 @@ static void D3D1_TextureMapBlendTest(void)
ok
(
hr
==
D3D_OK
,
"IDirect3DExecuteBuffer_SetExecuteData failed with %08x
\n
"
,
hr
);
hr
=
IDirect3DDevice_BeginScene
(
Direct3DDevice1
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice
3
_BeginScene failed with %08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice_BeginScene failed with %08x
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
))
{
hr
=
IDirect3DDevice_Execute
(
Direct3DDevice1
,
ExecuteBuffer
,
Viewport
,
D3DEXECUTE_UNCLIPPED
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice_Execute failed, hr = %08x
\n
"
,
hr
);
hr
=
IDirect3DDevice_EndScene
(
Direct3DDevice1
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice
3
_EndScene failed, hr = %08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice_EndScene failed, hr = %08x
\n
"
,
hr
);
}
color
=
D3D1_getPixelColor
(
DirectDraw1
,
Surface1
,
5
,
5
);
...
...
@@ -2090,7 +2090,7 @@ static void D3D1_ViewportClearTest(void)
ok
(
hr
==
D3D_OK
,
"IDirect3DViewport_SetBackground failed: %08x
\n
"
,
hr
);
hr
=
IDirect3DDevice_BeginScene
(
Direct3DDevice1
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice
3
_BeginScene failed with %08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice_BeginScene failed with %08x
\n
"
,
hr
);
if
(
SUCCEEDED
(
hr
))
{
D3DRECT
rect
;
...
...
@@ -2112,7 +2112,7 @@ static void D3D1_ViewportClearTest(void)
ok
(
hr
==
D3D_OK
,
"IDirect3DViewport_Clear failed: %08x
\n
"
,
hr
);
hr
=
IDirect3DDevice_EndScene
(
Direct3DDevice1
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice
3
_EndScene failed, hr = %08x
\n
"
,
hr
);
ok
(
hr
==
D3D_OK
,
"IDirect3DDevice_EndScene failed, hr = %08x
\n
"
,
hr
);
}
color
=
D3D1_getPixelColor
(
DirectDraw1
,
Surface1
,
5
,
5
);
...
...
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