[Bf-blender-cvs] [50971775d5c] temp-T101905-gpu-backend-argument: Fix compilation errors SDL.

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


Commit: 50971775d5c21bc3e20b6cd3b3907aef21c68eb8
Author: Jeroen Bakker
Date:   Wed Oct 19 11:55:21 2022 +0200
Branches: temp-T101905-gpu-backend-argument
https://developer.blender.org/rB50971775d5c21bc3e20b6cd3b3907aef21c68eb8

Fix compilation errors SDL.

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

M	intern/ghost/intern/GHOST_SystemSDL.cpp

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

diff --git a/intern/ghost/intern/GHOST_SystemSDL.cpp b/intern/ghost/intern/GHOST_SystemSDL.cpp
index 07c9370ba65..9174664adc4 100644
--- a/intern/ghost/intern/GHOST_SystemSDL.cpp
+++ b/intern/ghost/intern/GHOST_SystemSDL.cpp
@@ -56,7 +56,7 @@ GHOST_IWindow *GHOST_SystemSDL::createWindow(const char *title,
                                width,
                                height,
                                state,
-                               type,
+                               glSettings.context_type,
                                ((glSettings.flags & GHOST_glStereoVisual) != 0),
                                exclusive,
                                parentWindow);



More information about the Bf-blender-cvs mailing list