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
fbdf6182
Commit
fbdf6182
authored
May 23, 2014
by
Andrei Slăvoiu
Committed by
Alexandre Julliard
Jun 11, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Recognize cards that expose GLSL 1.30 as DX10 capable even if they…
wined3d: Recognize cards that expose GLSL 1.30 as DX10 capable even if they don't support EXT_GPU_SHADER4.
parent
8c944b0d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
directx.c
dlls/wined3d/directx.c
+2
-1
No files found.
dlls/wined3d/directx.c
View file @
fbdf6182
...
...
@@ -1667,7 +1667,8 @@ static UINT d3d_level_from_gl_info(const struct wined3d_gl_info *gl_info)
if
(
level
==
8
&&
gl_info
->
supported
[
ARB_FRAGMENT_PROGRAM
]
&&
gl_info
->
supported
[
ARB_VERTEX_SHADER
])
level
=
9
;
if
(
level
==
9
&&
gl_info
->
supported
[
EXT_GPU_SHADER4
])
if
(
level
==
9
&&
(
gl_info
->
supported
[
EXT_GPU_SHADER4
]
||
gl_info
->
glsl_version
>=
MAKEDWORD_VERSION
(
1
,
30
)))
level
=
10
;
return
level
;
...
...
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