diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-10-25 13:04:08 -0500 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-10-25 13:04:08 -0500 |
commit | 07e759b74a34e1d58f7704c7f6a68fb53c263247 (patch) | |
tree | 689409a36d3c771252f893132065b4417cd7c058 /platform/windows/display_server_windows.cpp | |
parent | d3298fe73820299d51fa4a7dc0f7d495e303003f (diff) | |
parent | 256699ee317fde9b1712c0ddf12a6903773aaff4 (diff) | |
download | redot-engine-07e759b74a34e1d58f7704c7f6a68fb53c263247.tar.gz |
Merge pull request #97771 from dsnopek/openxr-linux-egl
OpenXR: Add support for Wayland on Linux
Diffstat (limited to 'platform/windows/display_server_windows.cpp')
-rw-r--r-- | platform/windows/display_server_windows.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/platform/windows/display_server_windows.cpp b/platform/windows/display_server_windows.cpp index c427596829..fc49b63dde 100644 --- a/platform/windows/display_server_windows.cpp +++ b/platform/windows/display_server_windows.cpp @@ -1665,6 +1665,18 @@ int64_t DisplayServerWindows::window_get_native_handle(HandleType p_handle_type, } return 0; } + case EGL_DISPLAY: { + if (gl_manager_angle) { + return (int64_t)gl_manager_angle->get_display(p_window); + } + return 0; + } + case EGL_CONFIG: { + if (gl_manager_angle) { + return (int64_t)gl_manager_angle->get_config(p_window); + } + return 0; + } #endif default: { return 0; |