diff options
Diffstat (limited to 'intern/ghost/intern/GHOST_SystemWayland.cpp')
-rw-r--r-- | intern/ghost/intern/GHOST_SystemWayland.cpp | 10 |
1 files changed, 7 insertions, 3 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; |