summaryrefslogtreecommitdiffstats
path: root/servers/display_server_headless.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 /servers/display_server_headless.h
parent8e2141eac534f6984bb0bdbcefbd17de27ae0993 (diff)
downloadredot-engine-a3769c0edc4633224e6291866d750691e6d9ed36.tar.gz
Properly set window class in Wayland
Diffstat (limited to 'servers/display_server_headless.h')
-rw-r--r--servers/display_server_headless.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/display_server_headless.h b/servers/display_server_headless.h
index 38baa6a4fa..51755ddfbd 100644
--- a/servers/display_server_headless.h
+++ b/servers/display_server_headless.h
@@ -45,7 +45,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(DisplayServerHeadless());