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
b1540813
Commit
b1540813
authored
Apr 16, 2007
by
H. Verbeet
Committed by
Alexandre Julliard
Apr 17, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use GL_UNSIGNED_BYTE as data type for WINED3DFMT_A8.
parent
3777ef3a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
utils.c
dlls/wined3d/utils.c
+1
-1
No files found.
dlls/wined3d/utils.c
View file @
b1540813
...
@@ -68,7 +68,7 @@ static const PixelFormatDesc formats[] = {
...
@@ -68,7 +68,7 @@ static const PixelFormatDesc formats[] = {
{
WINED3DFMT_A1R5G5B5
,
0x00008000
,
0x00007c00
,
0x000003e0
,
0x0000001f
,
2
,
FALSE
,
GL_RGB5_A1
,
GL_BGRA
,
GL_UNSIGNED_SHORT_1_5_5_5_REV
},
{
WINED3DFMT_A1R5G5B5
,
0x00008000
,
0x00007c00
,
0x000003e0
,
0x0000001f
,
2
,
FALSE
,
GL_RGB5_A1
,
GL_BGRA
,
GL_UNSIGNED_SHORT_1_5_5_5_REV
},
{
WINED3DFMT_A4R4G4B4
,
0x0000f000
,
0x00000f00
,
0x000000f0
,
0x0000000f
,
2
,
FALSE
,
GL_RGBA4
,
GL_BGRA
,
GL_UNSIGNED_SHORT_4_4_4_4_REV
},
{
WINED3DFMT_A4R4G4B4
,
0x0000f000
,
0x00000f00
,
0x000000f0
,
0x0000000f
,
2
,
FALSE
,
GL_RGBA4
,
GL_BGRA
,
GL_UNSIGNED_SHORT_4_4_4_4_REV
},
{
WINED3DFMT_R3G3B2
,
0x0
,
0x000000e0
,
0x0000001c
,
0x00000003
,
1
,
FALSE
,
GL_R3_G3_B2
,
GL_RGB
,
GL_UNSIGNED_BYTE_2_3_3_REV
},
{
WINED3DFMT_R3G3B2
,
0x0
,
0x000000e0
,
0x0000001c
,
0x00000003
,
1
,
FALSE
,
GL_R3_G3_B2
,
GL_RGB
,
GL_UNSIGNED_BYTE_2_3_3_REV
},
{
WINED3DFMT_A8
,
0x000000ff
,
0x0
,
0x0
,
0x0
,
1
,
FALSE
,
GL_ALPHA8
,
GL_ALPHA
,
GL_
ALPHA
},
{
WINED3DFMT_A8
,
0x000000ff
,
0x0
,
0x0
,
0x0
,
1
,
FALSE
,
GL_ALPHA8
,
GL_ALPHA
,
GL_
UNSIGNED_BYTE
},
{
WINED3DFMT_A8R3G3B2
,
0x0000ff00
,
0x000000e0
,
0x0000001c
,
0x00000003
,
2
,
FALSE
,
0
,
0
,
0
},
{
WINED3DFMT_A8R3G3B2
,
0x0000ff00
,
0x000000e0
,
0x0000001c
,
0x00000003
,
2
,
FALSE
,
0
,
0
,
0
},
{
WINED3DFMT_X4R4G4B4
,
0x0
,
0x00000f00
,
0x000000f0
,
0x0000000f
,
2
,
FALSE
,
GL_RGB4
,
GL_BGRA
,
GL_UNSIGNED_SHORT_4_4_4_4_REV
},
{
WINED3DFMT_X4R4G4B4
,
0x0
,
0x00000f00
,
0x000000f0
,
0x0000000f
,
2
,
FALSE
,
GL_RGB4
,
GL_BGRA
,
GL_UNSIGNED_SHORT_4_4_4_4_REV
},
{
WINED3DFMT_A2B10G10R10
,
0xb0000000
,
0x000003ff
,
0x000ffc00
,
0x3ff00000
,
4
,
FALSE
,
GL_RGB
,
GL_RGBA
,
GL_UNSIGNED_INT_2_10_10_10_REV
},
{
WINED3DFMT_A2B10G10R10
,
0xb0000000
,
0x000003ff
,
0x000ffc00
,
0x3ff00000
,
4
,
FALSE
,
GL_RGB
,
GL_RGBA
,
GL_UNSIGNED_INT_2_10_10_10_REV
},
...
...
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