Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
bb2fffa1
Unverified
Commit
bb2fffa1
authored
Feb 13, 2020
by
Hugo Locurcio
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable the GLES2 renderer option in the Project Manager
It will be re-enabled once the GLES2 renderer is refactored to work in Godot 4.0.
parent
c4823796
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
project_manager.cpp
editor/project_manager.cpp
+10
-1
No files found.
editor/project_manager.cpp
View file @
bb2fffa1
...
...
@@ -891,17 +891,26 @@ public:
rshb
->
add_child
(
memnew
(
VSeparator
));
const
String
gles2_unsupported_tooltip
=
TTR
(
"The GLES2 renderer is currently unavailable, as it needs to be reworked for Godot 4.0.
\n
Use Godot 3.2 if you need GLES2 support."
);
rvb
=
memnew
(
VBoxContainer
);
rvb
->
set_h_size_flags
(
SIZE_EXPAND_FILL
);
rshb
->
add_child
(
rvb
);
rs_button
=
memnew
(
CheckBox
);
rs_button
->
set_button_group
(
rasterizer_button_group
);
rs_button
->
set_text
(
TTR
(
"OpenGL ES 2.0"
));
rs_button
->
set_text
(
TTR
(
"OpenGL ES 2.0
(currently unavailable)
"
));
rs_button
->
set_meta
(
"driver_name"
,
"GLES2"
);
rs_button
->
set_disabled
(
true
);
rs_button
->
set_tooltip
(
gles2_unsupported_tooltip
);
rvb
->
add_child
(
rs_button
);
l
=
memnew
(
Label
);
l
->
set_text
(
TTR
(
"- Lower visual quality
\n
- Some features not available
\n
- Works on most hardware
\n
- Recommended for web and mobile games"
));
l
->
set_modulate
(
Color
(
1
,
1
,
1
,
0.7
));
// Also set the tooltip on the label so it appears when hovering either the checkbox or label.
l
->
set_tooltip
(
gles2_unsupported_tooltip
);
// Required for the tooltip to show.
l
->
set_mouse_filter
(
MOUSE_FILTER_STOP
);
rvb
->
add_child
(
l
);
l
=
memnew
(
Label
);
...
...
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