summaryrefslogtreecommitdiffstats
path: root/tests/display_server_mock.h
diff options
context:
space:
mode:
authorPaulo Poiati <paulogpoiati@gmail.com>2024-05-22 09:06:04 -0300
committerPaulo Poiati <paulogpoiati@gmail.com>2024-05-22 10:42:12 -0300
commita3769c0edc4633224e6291866d750691e6d9ed36 (patch)
tree95f3edb8292df85d75349ed406a09ec3aca7a048 /tests/display_server_mock.h
parent8e2141eac534f6984bb0bdbcefbd17de27ae0993 (diff)
downloadredot-engine-a3769c0edc4633224e6291866d750691e6d9ed36.tar.gz
Properly set window class in Wayland
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());