From a70a8ce720503a940bd6391f16529f4ea6aae8fe Mon Sep 17 00:00:00 2001 From: Alexander Pavlov Date: Thu, 14 Dec 2023 11:09:04 +0300 Subject: [PATCH] Update README.md --- README.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 598907f..4cb67ee 100644 --- a/README.md +++ b/README.md @@ -244,17 +244,20 @@ make install Build only the OpenGL version ----------------------------- ### Note: -By default, the game uses the Vulkan renderer.If the Vulkan is not detected when the game starts, the game switches to OpenGL rendering. +By default, the game uses the Vulkan renderer.If the Vulkan is not +detected when the game starts, the game switches to OpenGL rendering. The default rendering value is set by the **sam_iGfxAPI** variable ( **0 - OpenGL / 1 - Vulkan** ). This variable can be set to zero in the configuration file, then OpenGL rendering to be used by default. The configuration file is located on the path: ``` ~/.local/share/Serious-Engine/serioussam(se)/Scripts/PersistentSymbols.ini ``` -This file is created after first launch.To change the default rendering to OpenGL, you need to change the **sam_iGfxAPI** value to **zero** +This file is created after first launch.To change the default rendering to OpenGL, +you need to change the **sam_iGfxAPI** value to **zero** or write the line: **persistent extern INDEX sam_iGfxAPI=(INDEX)0;** in this file. -If your video card does not support Vulkan and you do not have the Vulkan libraries and header files installed, then you can build a version only with an OpenGL render. +If your video card does not support Vulkan and you do not have the Vulkan libraries +and header files installed, then you can build a version only with an OpenGL render. You just need to add one key(**-DUSE_SYSTEM_VULKAN=FALSE**) for the cmake command. Example: ```