From e3392a5083136a3b41c45f6eade8159192d4f79b Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Fri, 27 May 2022 08:33:08 +1000 Subject: [PATCH] un-un-un-re-enable ModernGL build --- src/Platform_Posix.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/Platform_Posix.c b/src/Platform_Posix.c index 2e2b3f6b7..96c24f72d 100644 --- a/src/Platform_Posix.c +++ b/src/Platform_Posix.c @@ -772,19 +772,27 @@ cc_bool Updater_Clean(void) { return true; } #if defined CC_BUILD_LINUX #if __x86_64__ const struct UpdaterInfo Updater_Info = { + #ifndef CC_BUILD_GLMODERN + "", 1, { { "OpenGL", "ClassiCube" } } + #else "&eModernGL is recommended for newer machines (2010 or later)", 2, { { "ModernGL", "cc-nix64-gl2" }, { "OpenGL", "ClassiCube" } } + #endif }; #elif __i386__ const struct UpdaterInfo Updater_Info = { + #ifndef CC_BUILD_GLMODERN + "", 1, { { "OpenGL", "ClassiCube.32" } } + #else "&eModernGL is recommended for newer machines (2010 or later)", 2, { { "ModernGL", "cc-nix32-gl2" }, { "OpenGL", "ClassiCube.32" } } + #endif }; #elif CC_BUILD_RPI const struct UpdaterInfo Updater_Info = { "", 1, { { "OpenGL", "ClassiCube.rpi" } } }; @@ -794,19 +802,27 @@ const struct UpdaterInfo Updater_Info = { "&eCompile latest source code to updat #elif defined CC_BUILD_MACOS #if __x86_64__ const struct UpdaterInfo Updater_Info = { + #ifndef CC_BUILD_GLMODERN + "", 1, { { "OpenGL", "ClassiCube.64.osx" } } + #else "&eModernGL is recommended for newer machines (2010 or later)", 2, { { "ModernGL", "cc-osx64-gl2" }, { "OpenGL", "ClassiCube.64.osx" } } + #endif }; #elif __i386__ const struct UpdaterInfo Updater_Info = { + #ifndef CC_BUILD_GLMODERN + "", 1, { { "OpenGL", "ClassiCube.osx" } } + #else "&eModernGL is recommended for newer machines (2010 or later)", 2, { { "ModernGL", "cc-osx32-gl2" }, { "OpenGL", "ClassiCube.osx" } } + #endif }; #else const struct UpdaterInfo Updater_Info = { "&eCompile latest source code to update", 0 };