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
6c423b10
Commit
6c423b10
authored
Dec 06, 2011
by
Stefan Dösinger
Committed by
Alexandre Julliard
Dec 06, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Remove the Apple NV_texture_shader quirk.
parent
e4f91774
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
21 deletions
+0
-21
directx.c
dlls/wined3d/directx.c
+0
-21
No files found.
dlls/wined3d/directx.c
View file @
6c423b10
...
...
@@ -642,13 +642,6 @@ static BOOL match_allows_spec_alpha(const struct wined3d_gl_info *gl_info, const
}
}
static
BOOL
match_apple_nvts
(
const
struct
wined3d_gl_info
*
gl_info
,
const
char
*
gl_renderer
,
enum
wined3d_gl_vendor
gl_vendor
,
enum
wined3d_pci_vendor
card_vendor
,
enum
wined3d_pci_device
device
)
{
if
(
!
match_apple
(
gl_info
,
gl_renderer
,
gl_vendor
,
card_vendor
,
device
))
return
FALSE
;
return
gl_info
->
supported
[
NV_TEXTURE_SHADER
];
}
/* A GL context is provided by the caller */
static
BOOL
match_broken_nv_clip
(
const
struct
wined3d_gl_info
*
gl_info
,
const
char
*
gl_renderer
,
enum
wined3d_gl_vendor
gl_vendor
,
enum
wined3d_pci_vendor
card_vendor
,
enum
wined3d_pci_device
device
)
...
...
@@ -876,12 +869,6 @@ static void quirk_allows_specular_alpha(struct wined3d_gl_info *gl_info)
gl_info
->
quirks
|=
WINED3D_QUIRK_ALLOWS_SPECULAR_ALPHA
;
}
static
void
quirk_apple_nvts
(
struct
wined3d_gl_info
*
gl_info
)
{
gl_info
->
supported
[
NV_TEXTURE_SHADER
]
=
FALSE
;
gl_info
->
supported
[
NV_TEXTURE_SHADER2
]
=
FALSE
;
}
static
void
quirk_disable_nvvp_clip
(
struct
wined3d_gl_info
*
gl_info
)
{
gl_info
->
quirks
|=
WINED3D_QUIRK_NV_CLIP_BROKEN
;
...
...
@@ -974,14 +961,6 @@ static const struct driver_quirk quirk_table[] =
"Allow specular alpha quirk"
},
{
/* The pixel formats provided by GL_NV_texture_shader are broken on OSX
* (rdar://5682521).
*/
match_apple_nvts
,
quirk_apple_nvts
,
"Apple NV_texture_shader disable"
},
{
match_broken_nv_clip
,
quirk_disable_nvvp_clip
,
"Apple NV_vertex_program clip bug quirk"
...
...
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