File tree Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Expand file tree Collapse file tree 2 files changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -69,9 +69,6 @@ class OS {
69
69
bool restart_on_exit = false ;
70
70
List<String> restart_commandline;
71
71
72
- // for the user interface we keep a record of the current display driver
73
- // so we can retrieve the rendering drivers available
74
- int _display_driver_id = -1 ;
75
72
String _current_rendering_driver_name;
76
73
String _current_rendering_method;
77
74
bool _is_gles_over_gl = false ;
@@ -119,8 +116,6 @@ class OS {
119
116
virtual void initialize () = 0;
120
117
virtual void initialize_joypads () = 0;
121
118
122
- void set_display_driver_id (int p_display_driver_id) { _display_driver_id = p_display_driver_id; }
123
-
124
119
virtual void set_main_loop (MainLoop *p_main_loop) = 0;
125
120
virtual void delete_main_loop () = 0;
126
121
@@ -144,8 +139,6 @@ class OS {
144
139
String get_current_rendering_method () const { return _current_rendering_method; }
145
140
bool get_gles_over_gl () const { return _is_gles_over_gl; }
146
141
147
- int get_display_driver_id () const { return _display_driver_id; }
148
-
149
142
virtual Vector<String> get_video_adapter_driver_info () const = 0;
150
143
virtual bool get_user_prefers_integrated_gpu () const { return false ; }
151
144
Original file line number Diff line number Diff line change @@ -2973,10 +2973,6 @@ Error Main::setup2(bool p_show_boot_logo) {
2973
2973
}
2974
2974
}
2975
2975
2976
- // Store this in a globally accessible place, so we can retrieve the rendering drivers
2977
- // list from the display driver for the editor UI.
2978
- OS::get_singleton ()->set_display_driver_id (display_driver_idx);
2979
-
2980
2976
Vector2i *window_position = nullptr ;
2981
2977
Vector2i position = init_custom_pos;
2982
2978
if (init_use_custom_pos) {
You can’t perform that action at this time.
0 commit comments