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
5523820b
Commit
5523820b
authored
Jun 16, 2012
by
Nozomi Kodama
Committed by
Alexandre Julliard
Jun 18, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dx9_36: Recognize A8B8G8R8 format.
parent
60a0fb30
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
surface.c
dlls/d3dx9_36/surface.c
+1
-0
No files found.
dlls/d3dx9_36/surface.c
View file @
5523820b
...
...
@@ -190,6 +190,7 @@ static D3DFORMAT dds_rgb_to_d3dformat(const struct dds_pixel_format *pixel_forma
{
32
,
0x3ff00000
,
0x000ffc00
,
0x000003ff
,
0xc0000000
,
D3DFMT_A2B10G10R10
},
{
32
,
0x000003ff
,
0x000ffc00
,
0x3ff00000
,
0xc0000000
,
D3DFMT_A2R10G10B10
},
{
32
,
0x0000ffff
,
0xffff0000
,
0x00000000
,
0x00000000
,
D3DFMT_G16R16
},
{
32
,
0x000000ff
,
0x0000ff00
,
0x00ff0000
,
0xff000000
,
D3DFMT_A8B8G8R8
},
};
for
(
i
=
0
;
i
<
sizeof
(
rgb_pixel_formats
)
/
sizeof
(
rgb_pixel_formats
[
0
]);
i
++
)
...
...
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