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
6527277a
Commit
6527277a
authored
Jan 23, 2013
by
Henri Verbeet
Committed by
Alexandre Julliard
Jan 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Properly set WINED3DFMT_FLAG_FILTERING in init_format_texture_info().
parent
3f217577
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
directx.c
dlls/wined3d/directx.c
+1
-2
utils.c
dlls/wined3d/utils.c
+3
-0
No files found.
dlls/wined3d/directx.c
View file @
6527277a
...
...
@@ -3485,8 +3485,7 @@ static BOOL CheckDepthStencilCapability(const struct wined3d_adapter *adapter,
static
BOOL
CheckFilterCapability
(
const
struct
wined3d_adapter
*
adapter
,
const
struct
wined3d_format
*
format
)
{
/* The flags entry of a format contains the filtering capability */
if
((
format
->
flags
&
WINED3DFMT_FLAG_FILTERING
)
||
!
(
adapter
->
gl_info
.
quirks
&
WINED3D_QUIRK_LIMITED_TEX_FILTERING
))
if
(
format
->
flags
&
WINED3DFMT_FLAG_FILTERING
)
return
TRUE
;
return
FALSE
;
...
...
dlls/wined3d/utils.c
View file @
6527277a
...
...
@@ -1287,6 +1287,9 @@ static BOOL init_format_texture_info(struct wined3d_adapter *adapter, struct win
format
->
height_scale
.
numerator
=
1
;
format
->
height_scale
.
denominator
=
1
;
if
(
!
(
gl_info
->
quirks
&
WINED3D_QUIRK_LIMITED_TEX_FILTERING
))
format
->
flags
|=
WINED3DFMT_FLAG_FILTERING
;
if
(
format
->
glGammaInternal
!=
format
->
glInternal
)
{
/* Filter sRGB capabilities if EXT_texture_sRGB is not supported. */
...
...
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