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
429d7296
Commit
429d7296
authored
Sep 01, 2014
by
Henri Verbeet
Committed by
Alexandre Julliard
Sep 01, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Allow sRGB read/write and VTF on WINED3DFMT_R8G8B8A8_UNORM.
parent
6d4275c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
utils.c
dlls/wined3d/utils.c
+3
-2
No files found.
dlls/wined3d/utils.c
View file @
429d7296
...
@@ -801,10 +801,11 @@ static const struct wined3d_format_texture_info format_texture_info[] =
...
@@ -801,10 +801,11 @@ static const struct wined3d_format_texture_info format_texture_info[] =
WINED3DFMT_FLAG_TEXTURE
|
WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING
|
WINED3DFMT_FLAG_FILTERING
WINED3DFMT_FLAG_TEXTURE
|
WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING
|
WINED3DFMT_FLAG_FILTERING
|
WINED3DFMT_FLAG_RENDERTARGET
,
|
WINED3DFMT_FLAG_RENDERTARGET
,
WINED3D_GL_EXT_NONE
,
NULL
},
WINED3D_GL_EXT_NONE
,
NULL
},
{
WINED3DFMT_R8G8B8A8_UNORM
,
GL_RGBA8
,
GL_
RGBA8
,
0
,
{
WINED3DFMT_R8G8B8A8_UNORM
,
GL_RGBA8
,
GL_
SRGB8_ALPHA8_EXT
,
0
,
GL_RGBA
,
GL_UNSIGNED_INT_8_8_8_8_REV
,
0
,
GL_RGBA
,
GL_UNSIGNED_INT_8_8_8_8_REV
,
0
,
WINED3DFMT_FLAG_TEXTURE
|
WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING
|
WINED3DFMT_FLAG_FILTERING
WINED3DFMT_FLAG_TEXTURE
|
WINED3DFMT_FLAG_POSTPIXELSHADER_BLENDING
|
WINED3DFMT_FLAG_FILTERING
|
WINED3DFMT_FLAG_RENDERTARGET
,
|
WINED3DFMT_FLAG_RENDERTARGET
|
WINED3DFMT_FLAG_SRGB_READ
|
WINED3DFMT_FLAG_SRGB_WRITE
|
WINED3DFMT_FLAG_VTF
,
WINED3D_GL_EXT_NONE
,
NULL
},
WINED3D_GL_EXT_NONE
,
NULL
},
{
WINED3DFMT_R8G8B8X8_UNORM
,
GL_RGB8
,
GL_RGB8
,
0
,
{
WINED3DFMT_R8G8B8X8_UNORM
,
GL_RGB8
,
GL_RGB8
,
0
,
GL_RGBA
,
GL_UNSIGNED_INT_8_8_8_8_REV
,
0
,
GL_RGBA
,
GL_UNSIGNED_INT_8_8_8_8_REV
,
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