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
fb926490
Commit
fb926490
authored
Nov 06, 2013
by
Rico Schüller
Committed by
Alexandre Julliard
Nov 07, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Use GL_EXT_texture_mirror_clamp when available.
parent
899e59ff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
directx.c
dlls/wined3d/directx.c
+6
-0
wined3d_gl.h
dlls/wined3d/wined3d_gl.h
+1
-0
No files found.
dlls/wined3d/directx.c
View file @
fb926490
...
...
@@ -179,6 +179,7 @@ static const struct wined3d_extension_map gl_extension_map[] =
{
"GL_EXT_texture_env_dot3"
,
EXT_TEXTURE_ENV_DOT3
},
{
"GL_EXT_texture_filter_anisotropic"
,
EXT_TEXTURE_FILTER_ANISOTROPIC
},
{
"GL_EXT_texture_lod_bias"
,
EXT_TEXTURE_LOD_BIAS
},
{
"GL_EXT_texture_mirror_clamp"
,
EXT_TEXTURE_MIRROR_CLAMP
},
{
"GL_EXT_texture_sRGB"
,
EXT_TEXTURE_SRGB
},
{
"GL_EXT_texture_sRGB_decode"
,
EXT_TEXTURE_SRGB_DECODE
},
{
"GL_EXT_vertex_array_bgra"
,
EXT_VERTEX_ARRAY_BGRA
},
...
...
@@ -2933,6 +2934,11 @@ static BOOL wined3d_adapter_init_gl_caps(struct wined3d_adapter *adapter)
if
(
!
counter_bits
)
gl_info
->
supported
[
ARB_OCCLUSION_QUERY
]
=
FALSE
;
}
if
(
!
gl_info
->
supported
[
ATI_TEXTURE_MIRROR_ONCE
]
&&
gl_info
->
supported
[
EXT_TEXTURE_MIRROR_CLAMP
])
{
TRACE
(
" IMPLIED: ATI_texture_mirror_once support (by EXT_texture_mirror_clamp).
\n
"
);
gl_info
->
supported
[
ATI_TEXTURE_MIRROR_ONCE
]
=
TRUE
;
}
if
(
!
gl_info
->
supported
[
ARB_TEXTURE_MIRROR_CLAMP_TO_EDGE
]
&&
gl_info
->
supported
[
ATI_TEXTURE_MIRROR_ONCE
])
{
TRACE
(
" IMPLIED: ARB_texture_mirror_clamp_to_edge support (by ATI_texture_mirror_once).
\n
"
);
...
...
dlls/wined3d/wined3d_gl.h
View file @
fb926490
...
...
@@ -127,6 +127,7 @@ enum wined3d_gl_extension
EXT_TEXTURE_ENV_DOT3
,
EXT_TEXTURE_FILTER_ANISOTROPIC
,
EXT_TEXTURE_LOD_BIAS
,
EXT_TEXTURE_MIRROR_CLAMP
,
EXT_TEXTURE_SRGB
,
EXT_TEXTURE_SRGB_DECODE
,
EXT_VERTEX_ARRAY_BGRA
,
...
...
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