mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
OpenXR: Add support for Wayland on Linux
This commit is contained in:
parent
2e14492879
commit
256699ee31
15 changed files with 149 additions and 9 deletions
|
@ -627,6 +627,18 @@ int64_t DisplayServerWayland::window_get_native_handle(HandleType p_handle_type,
|
|||
}
|
||||
return 0;
|
||||
} break;
|
||||
case EGL_DISPLAY: {
|
||||
if (egl_manager) {
|
||||
return (int64_t)egl_manager->get_display(p_window);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
case EGL_CONFIG: {
|
||||
if (egl_manager) {
|
||||
return (int64_t)egl_manager->get_config(p_window);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
#endif // GLES3_ENABLED
|
||||
|
||||
default: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue