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
25fe98e0
Commit
25fe98e0
authored
Aug 04, 2009
by
Henri Verbeet
Committed by
Alexandre Julliard
Aug 04, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Don't disable mipmapping if we lack EXT_texture_filter_anisotropic.
These don't have a whole lot to do with each other.
parent
efb78aca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
9 deletions
+4
-9
directx.c
dlls/wined3d/directx.c
+4
-9
No files found.
dlls/wined3d/directx.c
View file @
25fe98e0
...
...
@@ -1994,9 +1994,7 @@ static BOOL IWineD3DImpl_FillGLCaps(struct wined3d_gl_info *gl_info)
magLookup
[
WINED3DTEXF_NONE
-
WINED3DTEXF_NONE
]
=
GL_NEAREST
;
magLookup
[
WINED3DTEXF_POINT
-
WINED3DTEXF_NONE
]
=
GL_NEAREST
;
magLookup
[
WINED3DTEXF_LINEAR
-
WINED3DTEXF_NONE
]
=
GL_LINEAR
;
magLookup
[
WINED3DTEXF_ANISOTROPIC
-
WINED3DTEXF_NONE
]
=
gl_info
->
supported
[
EXT_TEXTURE_FILTER_ANISOTROPIC
]
?
GL_LINEAR
:
GL_NEAREST
;
magLookup
[
WINED3DTEXF_ANISOTROPIC
-
WINED3DTEXF_NONE
]
=
GL_LINEAR
;
minMipLookup
[
WINED3DTEXF_NONE
].
mip
[
WINED3DTEXF_NONE
]
=
GL_LINEAR
;
minMipLookup
[
WINED3DTEXF_NONE
].
mip
[
WINED3DTEXF_POINT
]
=
GL_LINEAR
;
...
...
@@ -2007,12 +2005,9 @@ static BOOL IWineD3DImpl_FillGLCaps(struct wined3d_gl_info *gl_info)
minMipLookup
[
WINED3DTEXF_LINEAR
].
mip
[
WINED3DTEXF_NONE
]
=
GL_LINEAR
;
minMipLookup
[
WINED3DTEXF_LINEAR
].
mip
[
WINED3DTEXF_POINT
]
=
GL_LINEAR_MIPMAP_NEAREST
;
minMipLookup
[
WINED3DTEXF_LINEAR
].
mip
[
WINED3DTEXF_LINEAR
]
=
GL_LINEAR_MIPMAP_LINEAR
;
minMipLookup
[
WINED3DTEXF_ANISOTROPIC
].
mip
[
WINED3DTEXF_NONE
]
=
gl_info
->
supported
[
EXT_TEXTURE_FILTER_ANISOTROPIC
]
?
GL_LINEAR_MIPMAP_LINEAR
:
GL_LINEAR
;
minMipLookup
[
WINED3DTEXF_ANISOTROPIC
].
mip
[
WINED3DTEXF_POINT
]
=
gl_info
->
supported
[
EXT_TEXTURE_FILTER_ANISOTROPIC
]
?
GL_LINEAR_MIPMAP_NEAREST
:
GL_LINEAR
;
minMipLookup
[
WINED3DTEXF_ANISOTROPIC
].
mip
[
WINED3DTEXF_LINEAR
]
=
gl_info
->
supported
[
EXT_TEXTURE_FILTER_ANISOTROPIC
]
?
GL_LINEAR_MIPMAP_LINEAR
:
GL_LINEAR
;
minMipLookup
[
WINED3DTEXF_ANISOTROPIC
].
mip
[
WINED3DTEXF_NONE
]
=
GL_LINEAR_MIPMAP_LINEAR
;
minMipLookup
[
WINED3DTEXF_ANISOTROPIC
].
mip
[
WINED3DTEXF_POINT
]
=
GL_LINEAR_MIPMAP_NEAREST
;
minMipLookup
[
WINED3DTEXF_ANISOTROPIC
].
mip
[
WINED3DTEXF_LINEAR
]
=
GL_LINEAR_MIPMAP_LINEAR
;
/* TODO: config lookups */
...
...
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