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
a97c1ad1
Commit
a97c1ad1
authored
Mar 03, 2011
by
Henri Verbeet
Committed by
Alexandre Julliard
Mar 03, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Add support for EXT_texture_sRGB_decode.
parent
09c3537a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
directx.c
dlls/wined3d/directx.c
+1
-0
wined3d_gl.h
dlls/wined3d/wined3d_gl.h
+9
-0
No files found.
dlls/wined3d/directx.c
View file @
a97c1ad1
...
...
@@ -129,6 +129,7 @@ static const struct {
{
"GL_EXT_texture_filter_anisotropic"
,
EXT_TEXTURE_FILTER_ANISOTROPIC
,
0
},
{
"GL_EXT_texture_lod_bias"
,
EXT_TEXTURE_LOD_BIAS
,
0
},
{
"GL_EXT_texture_sRGB"
,
EXT_TEXTURE_SRGB
,
0
},
{
"GL_EXT_texture_sRGB_decode"
,
EXT_TEXTURE_SRGB_DECODE
,
0
},
{
"GL_EXT_vertex_array_bgra"
,
EXT_VERTEX_ARRAY_BGRA
,
0
},
/* NV */
...
...
dlls/wined3d/wined3d_gl.h
View file @
a97c1ad1
...
...
@@ -1810,6 +1810,7 @@ typedef enum wined3d_gl_extension
EXT_TEXTURE_FILTER_ANISOTROPIC
,
EXT_TEXTURE_LOD_BIAS
,
EXT_TEXTURE_SRGB
,
EXT_TEXTURE_SRGB_DECODE
,
EXT_VERTEX_ARRAY_BGRA
,
/* NVIDIA */
NV_DEPTH_CLAMP
,
...
...
@@ -3412,6 +3413,14 @@ typedef void (WINE_GLAPI *PGLFNGETCOMPRESSEDTEXIMAGEPROC)(GLenum target, GLint l
#define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8c4f
#endif
/* GL_EXT_texture_sRGB_decode */
#ifndef GL_EXT_texture_sRGB_decode
#define GL_EXT_texture_sRGB_decode 1
#define GL_TEXTURE_SRGB_DECODE_EXT 0x8a48
#define GL_DECODE_EXT 0x8a49
#define GL_SKIP_DECODE_EXT 0x8a4a
#endif
/* GL_NV_depth_clamp */
#ifndef GL_NV_depth_clamp
#define GL_NV_depth_clamp 1
...
...
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