[Bf-blender-cvs] [638c6d9687a] temp-T101905-gpu-backend-argument: Fix compilation errors on linux.

Jeroen Bakker noreply at git.blender.org
Wed Oct 19 11:56:51 CEST 2022


Commit: 638c6d9687a324b086ced6e69121f16eb7071577
Author: Jeroen Bakker
Date:   Wed Oct 19 11:53:46 2022 +0200
Branches: temp-T101905-gpu-backend-argument
https://developer.blender.org/rB638c6d9687a324b086ced6e69121f16eb7071577

Fix compilation errors on linux.

===================================================================

M	intern/ghost/intern/GHOST_SystemWayland.cpp
M	intern/ghost/intern/GHOST_SystemX11.cpp

===================================================================

diff --git a/intern/ghost/intern/GHOST_SystemWayland.cpp b/intern/ghost/intern/GHOST_SystemWayland.cpp
index c2b7151d63f..0356c464a0b 100644
--- a/intern/ghost/intern/GHOST_SystemWayland.cpp
+++ b/intern/ghost/intern/GHOST_SystemWayland.cpp
@@ -3635,7 +3635,7 @@ GHOST_IWindow *GHOST_SystemWayland::createWindow(const char *title,
       height,
       state,
       parentWindow,
-      type,
+      glSettings.context_type,
       is_dialog,
       ((glSettings.flags & GHOST_glStereoVisual) != 0),
       exclusive);
diff --git a/intern/ghost/intern/GHOST_SystemX11.cpp b/intern/ghost/intern/GHOST_SystemX11.cpp
index f5abbe4ebc6..5c89febe97c 100644
--- a/intern/ghost/intern/GHOST_SystemX11.cpp
+++ b/intern/ghost/intern/GHOST_SystemX11.cpp
@@ -339,7 +339,7 @@ GHOST_IWindow *GHOST_SystemX11::createWindow(const char *title,
                                height,
                                state,
                                (GHOST_WindowX11 *)parentWindow,
-                               type,
+                               glSettings.context_type,
                                is_dialog,
                                ((glSettings.flags & GHOST_glStereoVisual) != 0),
                                exclusive,



More information about the Bf-blender-cvs mailing list