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
df3e078b
Commit
df3e078b
authored
Jun 09, 2006
by
Jan Zerebecki
Committed by
Alexandre Julliard
Jun 13, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Also print the format like a fourcc if unknown in debug_d3dformat.
parent
6444876d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
utils.c
dlls/wined3d/utils.c
+12
-1
No files found.
dlls/wined3d/utils.c
View file @
df3e078b
...
...
@@ -95,7 +95,18 @@ const char* debug_d3dformat(WINED3DFORMAT fmt) {
FMT_TO_STR
(
WINED3DFMT_CxV8U8
);
#undef FMT_TO_STR
default:
FIXME
(
"Unrecognized %u D3DFORMAT!
\n
"
,
fmt
);
{
char
fourcc
[
5
];
fourcc
[
0
]
=
(
char
)(
fmt
);
fourcc
[
1
]
=
(
char
)(
fmt
>>
8
);
fourcc
[
2
]
=
(
char
)(
fmt
>>
16
);
fourcc
[
3
]
=
(
char
)(
fmt
>>
24
);
fourcc
[
4
]
=
0
;
if
(
isprint
(
fourcc
[
0
])
&&
isprint
(
fourcc
[
1
])
&&
isprint
(
fourcc
[
2
])
&&
isprint
(
fourcc
[
3
])
)
FIXME
(
"Unrecognized %u (as fourcc: %s) D3DFORMAT!
\n
"
,
fmt
,
fourcc
);
else
FIXME
(
"Unrecognized %u D3DFORMAT!
\n
"
,
fmt
);
}
return
"unrecognized"
;
}
}
...
...
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