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
a7a0d4df
Commit
a7a0d4df
authored
Aug 13, 2007
by
Stefan Dösinger
Committed by
Alexandre Julliard
Aug 20, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Fix some alpha channels in formats.
parent
306fcfee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
utils.c
dlls/wined3d/utils.c
+2
-2
No files found.
dlls/wined3d/utils.c
View file @
a7a0d4df
...
@@ -150,14 +150,14 @@ static const GlPixelFormatDescTemplate gl_formats_template[] = {
...
@@ -150,14 +150,14 @@ static const GlPixelFormatDescTemplate gl_formats_template[] = {
{
WINED3DFMT_A8R8G8B8
,
GL_RGBA8
,
GL_SRGB8_ALPHA8_EXT
,
GL_BGRA
,
GL_UNSIGNED_INT_8_8_8_8_REV
},
{
WINED3DFMT_A8R8G8B8
,
GL_RGBA8
,
GL_SRGB8_ALPHA8_EXT
,
GL_BGRA
,
GL_UNSIGNED_INT_8_8_8_8_REV
},
{
WINED3DFMT_X8R8G8B8
,
GL_RGB8
,
GL_SRGB8_EXT
,
GL_BGRA
,
GL_UNSIGNED_INT_8_8_8_8_REV
},
{
WINED3DFMT_X8R8G8B8
,
GL_RGB8
,
GL_SRGB8_EXT
,
GL_BGRA
,
GL_UNSIGNED_INT_8_8_8_8_REV
},
{
WINED3DFMT_R5G6B5
,
GL_RGB5
,
GL_RGB5
,
GL_RG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R4G4B4
,
GL_RGB4
,
GL_RGB4
,
GL_BGRA
,
GL_UNSIGNED_SHORT_4_4_4_4_REV
},
{
WINED3DFMT_X4R4G4B4
,
GL_RGB4
,
GL_RGB4
,
GL_BGRA
,
GL_UNSIGNED_SHORT_4_4_4_4_REV
},
{
WINED3DFMT_A2B10G10R10
,
GL_RGB
,
GL_RGB
,
GL_RGBA
,
GL_UNSIGNED_INT_2_10_10_10_REV
},
{
WINED3DFMT_A2B10G10R10
,
GL_RGB
A
,
GL_RGBA
,
GL_RGBA
,
GL_UNSIGNED_INT_2_10_10_10_REV
},
{
WINED3DFMT_A8B8G8R8
,
GL_RGBA8
,
GL_RGBA8
,
GL_RGBA
,
GL_UNSIGNED_INT_8_8_8_8_REV
},
{
WINED3DFMT_A8B8G8R8
,
GL_RGBA8
,
GL_RGBA8
,
GL_RGBA
,
GL_UNSIGNED_INT_8_8_8_8_REV
},
{
WINED3DFMT_X8B8G8R8
,
GL_RGB8
,
GL_RGB8
,
GL_RGBA
,
GL_UNSIGNED_INT_8_8_8_8_REV
},
{
WINED3DFMT_X8B8G8R8
,
GL_RGB8
,
GL_RGB8
,
GL_RGBA
,
GL_UNSIGNED_INT_8_8_8_8_REV
},
{
WINED3DFMT_G16R16
,
0
,
0
,
0
,
0
},
{
WINED3DFMT_G16R16
,
0
,
0
,
0
,
0
},
...
...
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