diff options
Diffstat (limited to 'intern/ghost/intern')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemWayland.cpp | 10 | ||||
-rw-r--r-- | intern/ghost/intern/GHOST_WindowWayland.cpp | 7 |
2 files changed, 12 insertions, 5 deletions
diff --git a/intern/ghost/intern/GHOST_SystemWayland.cpp b/intern/ghost/intern/GHOST_SystemWayland.cpp index 3255d667e41..5e9a1703152 100644 --- a/intern/ghost/intern/GHOST_SystemWayland.cpp +++ b/intern/ghost/intern/GHOST_SystemWayland.cpp @@ -5594,9 +5594,13 @@ GHOST_IContext *GHOST_SystemWayland::createOffscreenContext(GHOST_GLSettings glS if (glSettings.context_type == GHOST_kDrawingContextTypeVulkan) { GHOST_Context *context = new GHOST_ContextVK(false, GHOST_kVulkanPlatformWayland, - 0, NULL, - wl_surface, display_->wl_display, - 1, 0, debug_context); + 0, + NULL, + wl_surface, + display_->wl_display, + 1, + 0, + debug_context); if (!context->initializeDrawingContext()) { delete context; diff --git a/intern/ghost/intern/GHOST_WindowWayland.cpp b/intern/ghost/intern/GHOST_WindowWayland.cpp index f3cea98a065..b0484d3ceb8 100644 --- a/intern/ghost/intern/GHOST_WindowWayland.cpp +++ b/intern/ghost/intern/GHOST_WindowWayland.cpp @@ -922,10 +922,13 @@ GHOST_Context *GHOST_WindowWayland::newDrawingContext(GHOST_TDrawingContextType case GHOST_kDrawingContextTypeVulkan: context = new GHOST_ContextVK(m_wantStereoVisual, GHOST_kVulkanPlatformWayland, - 0, NULL, + 0, + NULL, window_->wl_surface, system_->wl_display(), - 1, 0, true); + 1, + 0, + true); break; #endif |