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
4cd5298a
Commit
4cd5298a
authored
Aug 11, 2007
by
Roderick Colenbrander
Committed by
Alexandre Julliard
Aug 13, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add more pixelformats to getColorBits.
parent
5754726a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
utils.c
dlls/wined3d/utils.c
+9
-1
No files found.
dlls/wined3d/utils.c
View file @
4cd5298a
...
...
@@ -2486,8 +2486,16 @@ BOOL getColorBits(WINED3DFORMAT fmt, short *redSize, short *greenSize, short *bl
TRACE
(
"fmt: %s
\n
"
,
debug_d3dformat
(
fmt
));
switch
(
fmt
)
{
case
WINED3DFMT_R5G6B5
:
case
WINED3DFMT_X8R8G8B8
:
case
WINED3DFMT_R8G8B8
:
case
WINED3DFMT_A8R8G8B8
:
case
WINED3DFMT_A2R10G10B10
:
case
WINED3DFMT_X1R5G5B5
:
case
WINED3DFMT_A1R5G5B5
:
case
WINED3DFMT_R5G6B5
:
case
WINED3DFMT_R3G3B2
:
case
WINED3DFMT_A8P8
:
case
WINED3DFMT_P8
:
break
;
default:
ERR
(
"Unsupported format: %s
\n
"
,
debug_d3dformat
(
fmt
));
...
...
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