summaryrefslogtreecommitdiffstats
path: root/tests/display_server_mock.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/display_server_mock.h')
-rw-r--r--tests/display_server_mock.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/display_server_mock.h b/tests/display_server_mock.h
index fd79a46c5c..e4946995a7 100644
--- a/tests/display_server_mock.h
+++ b/tests/display_server_mock.h
@@ -56,7 +56,7 @@ private:
return drivers;
}
- static DisplayServer *create_func(const String &p_rendering_driver, DisplayServer::WindowMode p_mode, DisplayServer::VSyncMode p_vsync_mode, uint32_t p_flags, const Vector2i *p_position, const Vector2i &p_resolution, int p_screen, Error &r_error) {
+ static DisplayServer *create_func(const String &p_rendering_driver, DisplayServer::WindowMode p_mode, DisplayServer::VSyncMode p_vsync_mode, uint32_t p_flags, const Vector2i *p_position, const Vector2i &p_resolution, int p_screen, Context p_context, Error &r_error) {
r_error = OK;
RasterizerDummy::make_current();
return memnew(DisplayServerMock());