Polish rendering driver refactor further (take 2)
This commit is contained in:
parent
e413d1c9c3
commit
f82deaa5b3
8 changed files with 16 additions and 16 deletions
|
|
@ -4778,7 +4778,7 @@ Node3DEditorViewport::Node3DEditorViewport(Node3DEditor *p_spatial_editor, int p
|
|||
view_menu->set_disable_shortcuts(true);
|
||||
|
||||
// TODO: Re-evaluate with new OpenGL3 renderer, and implement.
|
||||
//if (OS::get_singleton()->get_current_video_driver() == OS::VIDEO_DRIVER_GLES2) {
|
||||
//if (OS::get_singleton()->get_current_video_driver() == OS::RENDERING_DRIVER_OPENGL3) {
|
||||
if (false) {
|
||||
// Alternate display modes only work when using the Vulkan renderer; make this explicit.
|
||||
const int normal_idx = view_menu->get_popup()->get_item_index(VIEW_DISPLAY_NORMAL);
|
||||
|
|
|
|||
|
|
@ -3707,7 +3707,7 @@ void VisualShaderEditor::_notification(int p_what) {
|
|||
[[fallthrough]];
|
||||
}
|
||||
case NOTIFICATION_THEME_CHANGED: {
|
||||
highend_label->set_modulate(get_theme_color(SNAME("vulkan_color"), SNAME("Editor")));
|
||||
highend_label->set_modulate(get_theme_color(SNAME("highend_color"), SNAME("Editor")));
|
||||
|
||||
node_filter->set_right_icon(Control::get_theme_icon(SNAME("Search"), SNAME("EditorIcons")));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue