Deprecate the pointless unsafe threading model for rendering

This commit is contained in:
Pedro J. Estébanez
2024-11-12 14:02:10 +01:00
parent 1bffd6c73b
commit a46ea9d064
5 changed files with 40 additions and 26 deletions

View File

@ -103,7 +103,7 @@ protected:
friend int test_main(int argc, char *argv[]);
HasServerFeatureCallback has_server_feature_callback = nullptr;
RenderThreadMode _render_thread_mode = RENDER_THREAD_SAFE;
bool _separate_thread_render = false;
// Functions used by Main to initialize/deinitialize the OS.
void add_logger(Logger *p_logger);
@ -261,7 +261,7 @@ public:
virtual uint64_t get_static_memory_peak_usage() const;
virtual Dictionary get_memory_info() const;
RenderThreadMode get_render_thread_mode() const { return _render_thread_mode; }
bool is_separate_thread_rendering_enabled() const { return _separate_thread_render; }
virtual String get_locale() const;
String get_locale_language() const;