From 5cf520bd0647dbc3da99416bdbf54b885307e1f4 Mon Sep 17 00:00:00 2001 From: tritonas00 Date: Thu, 23 Sep 2021 00:11:53 +0300 Subject: [PATCH] disable GL plugin on windows --- source/main/CMakeLists.txt | 4 ++++ source/main/plugins.cfg.in | 2 +- source/main/plugins_d.cfg.in | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/source/main/CMakeLists.txt b/source/main/CMakeLists.txt index af42e6ac74..02ead1556f 100644 --- a/source/main/CMakeLists.txt +++ b/source/main/CMakeLists.txt @@ -504,6 +504,10 @@ if (NOT WIN32) set(CFG_COMMENT_RENDERSYSTEM_D3D9 "# ") endif () +if (WIN32) + set(CFG_COMMENT_RENDERSYSTEM_GL "# ") +endif () + set(CFG_COMMENT_RENDERSYSTEM_D3D11 "# ") set(CFG_COMMENT_RENDERSYSTEM_GL3PLUS "# ") diff --git a/source/main/plugins.cfg.in b/source/main/plugins.cfg.in index d01a2484c6..2ee543a689 100644 --- a/source/main/plugins.cfg.in +++ b/source/main/plugins.cfg.in @@ -7,7 +7,7 @@ PluginFolder=@PLUGINS_FOLDER@ Plugin=Codec_FreeImage @CFG_COMMENT_RENDERSYSTEM_D3D9@Plugin=RenderSystem_Direct3D9 @CFG_COMMENT_RENDERSYSTEM_D3D11@Plugin=RenderSystem_Direct3D11 -Plugin=RenderSystem_GL +@CFG_COMMENT_RENDERSYSTEM_GL@Plugin=RenderSystem_GL @CFG_COMMENT_RENDERSYSTEM_GL3PLUS@Plugin=RenderSystem_GL3Plus Plugin=Plugin_ParticleFX Plugin=Plugin_OctreeSceneManager diff --git a/source/main/plugins_d.cfg.in b/source/main/plugins_d.cfg.in index 592bb7f49e..a556a72893 100644 --- a/source/main/plugins_d.cfg.in +++ b/source/main/plugins_d.cfg.in @@ -7,7 +7,7 @@ PluginFolder=@PLUGINS_FOLDER@ Plugin=Codec_FreeImage_d @CFG_COMMENT_RENDERSYSTEM_D3D9@Plugin=RenderSystem_Direct3D9_d @CFG_COMMENT_RENDERSYSTEM_D3D11@Plugin=RenderSystem_Direct3D11_d -Plugin=RenderSystem_GL_d +@CFG_COMMENT_RENDERSYSTEM_GL@Plugin=RenderSystem_GL_d @CFG_COMMENT_RENDERSYSTEM_GL3PLUS@Plugin=RenderSystem_GL3Plus_d Plugin=Plugin_ParticleFX_d Plugin=Plugin_OctreeSceneManager_d