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
b084e52b
Commit
b084e52b
authored
Oct 12, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Add support for arbitrary DIB bitfields for 32-bpp conversions.
parent
b2ef9218
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
primitives.c
dlls/gdi32/dibdrv/primitives.c
+0
-0
bitmap.c
dlls/gdi32/tests/bitmap.c
+1
-1
No files found.
dlls/gdi32/dibdrv/primitives.c
View file @
b084e52b
This diff is collapsed.
Click to expand it.
dlls/gdi32/tests/bitmap.c
View file @
b084e52b
...
@@ -846,7 +846,7 @@ static void test_dib_formats(void)
...
@@ -846,7 +846,7 @@ static void test_dib_formats(void)
case
32
:
expect_ok
=
(
compr
==
BI_RGB
||
compr
==
BI_BITFIELDS
);
break
;
case
32
:
expect_ok
=
(
compr
==
BI_RGB
||
compr
==
BI_BITFIELDS
);
break
;
default:
expect_ok
=
FALSE
;
break
;
default:
expect_ok
=
FALSE
;
break
;
}
}
todo
=
(
compr
==
BI_BITFIELDS
);
/* wine doesn't like strange bitfields */
todo
=
(
compr
==
BI_BITFIELDS
)
&&
bpp
==
16
;
/* wine doesn't like strange bitfields */
memset
(
bi
,
0
,
sizeof
(
bi
->
bmiHeader
)
);
memset
(
bi
,
0
,
sizeof
(
bi
->
bmiHeader
)
);
bi
->
bmiHeader
.
biSize
=
sizeof
(
BITMAPINFOHEADER
);
bi
->
bmiHeader
.
biSize
=
sizeof
(
BITMAPINFOHEADER
);
...
...
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