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
010008f6
Commit
010008f6
authored
Mar 15, 2024
by
Zebediah Figura
Committed by
Alexandre Julliard
Apr 03, 2024
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wined3d: Require GLSL 1.20 support.
parent
1eeebc31
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
adapter_gl.c
dlls/wined3d/adapter_gl.c
+11
-0
No files found.
dlls/wined3d/adapter_gl.c
View file @
010008f6
...
...
@@ -5308,6 +5308,9 @@ static BOOL wined3d_adapter_gl_init(struct wined3d_adapter_gl *adapter_gl,
}
required_extensions
[]
=
{
{
ARB_FRAGMENT_SHADER
,
"ARB_fragment_shader"
},
{
ARB_SHADING_LANGUAGE_100
,
"ARB_shading_language_100"
},
{
ARB_VERTEX_SHADER
,
"ARB_vertex_shader"
},
{
EXT_FRAMEBUFFER_OBJECT
,
"EXT_framebuffer_object"
},
};
...
...
@@ -5379,6 +5382,14 @@ static BOOL wined3d_adapter_gl_init(struct wined3d_adapter_gl *adapter_gl,
}
}
if
(
gl_info
->
glsl_version
<=
MAKEDWORD_VERSION
(
1
,
20
))
{
ERR
(
"GLSL version %s is too low; 1.20 is required.
\n
"
,
(
const
char
*
)
gl_info
->
gl_ops
.
gl
.
p_glGetString
(
GL_SHADING_LANGUAGE_VERSION_ARB
));
wined3d_caps_gl_ctx_destroy
(
&
caps_gl_ctx
);
return
FALSE
;
}
gl_info
->
filling_convention_offset
=
wined3d_adapter_find_fill_offset
(
&
caps_gl_ctx
);
wined3d_adapter_gl_init_d3d_info
(
adapter_gl
,
wined3d_creation_flags
);
...
...
Vitaly Lipatov
@lav
mentioned in commit
cfe177f5
·
May 08, 2024
mentioned in commit
cfe177f5
mentioned in commit cfe177f5cfa96f77bf060f3d4dadf5d7ffabbd72
Toggle commit list
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