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
98757d12
Commit
98757d12
authored
Oct 19, 2013
by
Frédéric Delanoy
Committed by
Alexandre Julliard
Oct 21, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windowscodecs/tests: Use BOOL type where appropriate.
parent
5098cd62
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
converter.c
dlls/windowscodecs/tests/converter.c
+10
-10
No files found.
dlls/windowscodecs/tests/converter.c
View file @
98757d12
...
...
@@ -338,7 +338,7 @@ static void test_default_converter(void)
{
BitmapTestSrc
*
src_obj
;
IWICFormatConverter
*
converter
;
BOOL
can_convert
=
1
;
BOOL
can_convert
=
TRUE
;
HRESULT
hr
;
CreateTestBitmap
(
&
testdata_32bppBGRA
,
&
src_obj
);
...
...
@@ -647,18 +647,18 @@ START_TEST(converter)
{
CoInitializeEx
(
NULL
,
COINIT_APARTMENTTHREADED
);
test_conversion
(
&
testdata_32bppBGRA
,
&
testdata_32bppBGR
,
"BGRA -> BGR"
,
0
);
test_conversion
(
&
testdata_32bppBGR
,
&
testdata_32bppBGRA
,
"BGR -> BGRA"
,
0
);
test_conversion
(
&
testdata_32bppBGRA
,
&
testdata_32bppBGRA
,
"BGRA -> BGRA"
,
0
);
test_conversion
(
&
testdata_32bppBGRA
,
&
testdata_32bppBGR
,
"BGRA -> BGR"
,
FALSE
);
test_conversion
(
&
testdata_32bppBGR
,
&
testdata_32bppBGRA
,
"BGR -> BGRA"
,
FALSE
);
test_conversion
(
&
testdata_32bppBGRA
,
&
testdata_32bppBGRA
,
"BGRA -> BGRA"
,
FALSE
);
test_conversion
(
&
testdata_24bppBGR
,
&
testdata_24bppBGR
,
"24bppBGR -> 24bppBGR"
,
0
);
test_conversion
(
&
testdata_24bppBGR
,
&
testdata_24bppRGB
,
"24bppBGR -> 24bppRGB"
,
0
);
test_conversion
(
&
testdata_24bppBGR
,
&
testdata_24bppBGR
,
"24bppBGR -> 24bppBGR"
,
FALSE
);
test_conversion
(
&
testdata_24bppBGR
,
&
testdata_24bppRGB
,
"24bppBGR -> 24bppRGB"
,
FALSE
);
test_conversion
(
&
testdata_24bppRGB
,
&
testdata_24bppRGB
,
"24bppRGB -> 24bppRGB"
,
0
);
test_conversion
(
&
testdata_24bppRGB
,
&
testdata_24bppBGR
,
"24bppRGB -> 24bppBGR"
,
0
);
test_conversion
(
&
testdata_24bppRGB
,
&
testdata_24bppRGB
,
"24bppRGB -> 24bppRGB"
,
FALSE
);
test_conversion
(
&
testdata_24bppRGB
,
&
testdata_24bppBGR
,
"24bppRGB -> 24bppBGR"
,
FALSE
);
test_conversion
(
&
testdata_32bppBGR
,
&
testdata_24bppRGB
,
"32bppBGR -> 24bppRGB"
,
0
);
test_conversion
(
&
testdata_24bppRGB
,
&
testdata_32bppBGR
,
"24bppRGB -> 32bppBGR"
,
0
);
test_conversion
(
&
testdata_32bppBGR
,
&
testdata_24bppRGB
,
"32bppBGR -> 24bppRGB"
,
FALSE
);
test_conversion
(
&
testdata_24bppRGB
,
&
testdata_32bppBGR
,
"24bppRGB -> 32bppBGR"
,
FALSE
);
test_invalid_conversion
();
test_default_converter
();
...
...
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