mirror of
https://github.com/godotengine/godot.git
synced 2024-11-12 23:24:26 +00:00
fix bug in reporting of message queue size
(cherry picked from commit 1f9812ab83
)
This commit is contained in:
parent
302abb1449
commit
34e6e284db
@ -320,7 +320,7 @@ void MessageQueue::_call_function(Object* p_target, const StringName& p_func, co
|
||||
void MessageQueue::flush() {
|
||||
|
||||
|
||||
if (buffer_max_used<buffer_end); {
|
||||
if (buffer_end > buffer_max_used) {
|
||||
buffer_max_used=buffer_end;
|
||||
//statistics();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user