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
ac5664c8
Commit
ac5664c8
authored
Feb 14, 2014
by
Matteo Bruni
Committed by
Alexandre Julliard
Feb 17, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9: Trace DDS pixel format.
parent
19087742
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
surface.c
dlls/d3dx9_36/surface.c
+5
-0
No files found.
dlls/d3dx9_36/surface.c
View file @
ac5664c8
...
...
@@ -259,6 +259,11 @@ static D3DFORMAT dds_bump_to_d3dformat(const struct dds_pixel_format *pixel_form
static
D3DFORMAT
dds_pixel_format_to_d3dformat
(
const
struct
dds_pixel_format
*
pixel_format
)
{
TRACE
(
"pixel_format: size %u, flags %#x, fourcc %#x, bpp %u.
\n
"
,
pixel_format
->
size
,
pixel_format
->
flags
,
pixel_format
->
fourcc
,
pixel_format
->
bpp
);
TRACE
(
"rmask %#x, gmask %#x, bmask %#x, amask %#x.
\n
"
,
pixel_format
->
rmask
,
pixel_format
->
gmask
,
pixel_format
->
bmask
,
pixel_format
->
amask
);
if
(
pixel_format
->
flags
&
DDS_PF_FOURCC
)
return
dds_fourcc_to_d3dformat
(
pixel_format
->
fourcc
);
if
(
pixel_format
->
flags
&
DDS_PF_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