You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Replace NULL with nullptr
This commit is contained in:
@@ -132,7 +132,7 @@ void RenderingServerWrapMT::finish() {
|
||||
Thread::wait_to_finish(thread);
|
||||
memdelete(thread);
|
||||
|
||||
thread = NULL;
|
||||
thread = nullptr;
|
||||
} else {
|
||||
rendering_server->finish();
|
||||
}
|
||||
@@ -168,7 +168,7 @@ void RenderingServerWrapMT::set_use_vsync_callback(bool p_enable) {
|
||||
singleton_mt->call_set_use_vsync(p_enable);
|
||||
}
|
||||
|
||||
RenderingServerWrapMT *RenderingServerWrapMT::singleton_mt = NULL;
|
||||
RenderingServerWrapMT *RenderingServerWrapMT::singleton_mt = nullptr;
|
||||
|
||||
RenderingServerWrapMT::RenderingServerWrapMT(RenderingServer *p_contained, bool p_create_thread) :
|
||||
command_queue(p_create_thread) {
|
||||
@@ -178,7 +178,7 @@ RenderingServerWrapMT::RenderingServerWrapMT(RenderingServer *p_contained, bool
|
||||
|
||||
rendering_server = p_contained;
|
||||
create_thread = p_create_thread;
|
||||
thread = NULL;
|
||||
thread = nullptr;
|
||||
draw_pending = 0;
|
||||
draw_thread_up = false;
|
||||
pool_max_size = GLOBAL_GET("memory/limits/multithreaded_server/rid_pool_prealloc");
|
||||
|
||||
Reference in New Issue
Block a user