summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorClay John <claynjohn@gmail.com>2022-10-28 13:02:58 -0700
committerGitHub <noreply@github.com>2022-10-28 13:02:58 -0700
commit04ac91f786aaf55be488a82cf27ab2817a5b1686 (patch)
treea34e9ee932840481f502289946457bd65a897c9e /tests
parent282e50ac88bb02923ef6188015c121eea6c9286a (diff)
parentd7e39e313b1f44d122be89a356dab8e4028a2043 (diff)
Merge pull request #67790 from kdada/fix-flash-window
Make creating window do not flicker when specify custom position
Diffstat (limited to 'tests')
-rw-r--r--tests/test_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_main.cpp b/tests/test_main.cpp
index 4c861eacba..d30d4a9e70 100644
--- a/tests/test_main.cpp
+++ b/tests/test_main.cpp
@@ -199,7 +199,7 @@ struct GodotTestCaseListener : public doctest::IReporter {
OS::get_singleton()->set_has_server_feature_callback(nullptr);
for (int i = 0; i < DisplayServer::get_create_function_count(); i++) {
if (String("headless") == DisplayServer::get_create_function_name(i)) {
- DisplayServer::create(i, "", DisplayServer::WindowMode::WINDOW_MODE_MINIMIZED, DisplayServer::VSyncMode::VSYNC_ENABLED, 0, Vector2i(0, 0), err);
+ DisplayServer::create(i, "", DisplayServer::WindowMode::WINDOW_MODE_MINIMIZED, DisplayServer::VSyncMode::VSYNC_ENABLED, 0, nullptr, Vector2i(0, 0), err);
break;
}
}