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
8f02157b
Commit
8f02157b
authored
Oct 02, 2023
by
Alex Henrie
Committed by
Alexandre Julliard
Oct 06, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ddraw: Use the debugstr_fourcc function instead of reimplementing it.
parent
6159a501
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
utils.c
dlls/ddraw/utils.c
+2
-6
No files found.
dlls/ddraw/utils.c
View file @
8f02157b
...
@@ -826,12 +826,8 @@ DDRAW_dump_pixelformat(const DDPIXELFORMAT *pf)
...
@@ -826,12 +826,8 @@ DDRAW_dump_pixelformat(const DDPIXELFORMAT *pf)
TRACE
(
"( "
);
TRACE
(
"( "
);
DDRAW_dump_pixelformat_flag
(
pf
->
dwFlags
);
DDRAW_dump_pixelformat_flag
(
pf
->
dwFlags
);
if
(
pf
->
dwFlags
&
DDPF_FOURCC
)
if
(
pf
->
dwFlags
&
DDPF_FOURCC
)
TRACE
(
", dwFourCC code '%c%c%c%c' (0x%08lx) - %lu bits per pixel"
,
TRACE
(
", dwFourCC code %s - %lu bits per pixel"
,
(
unsigned
char
)(
pf
->
dwFourCC
&
0xff
),
debugstr_fourcc
(
pf
->
dwFourCC
),
(
unsigned
char
)((
pf
->
dwFourCC
>>
8
)
&
0xff
),
(
unsigned
char
)((
pf
->
dwFourCC
>>
16
)
&
0xff
),
(
unsigned
char
)((
pf
->
dwFourCC
>>
24
)
&
0xff
),
pf
->
dwFourCC
,
pf
->
dwYUVBitCount
);
pf
->
dwYUVBitCount
);
if
(
pf
->
dwFlags
&
DDPF_RGB
)
if
(
pf
->
dwFlags
&
DDPF_RGB
)
{
{
...
...
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