un-un-un-un-un-un-un-un-un-un-un-re-enable ModernGL build

This commit is contained in:
UnknownShadow200 2023-01-06 12:05:16 +11:00
parent 3f1969ed24
commit 57a96e71bc

View File

@ -804,19 +804,27 @@ cc_bool Updater_Clean(void) { return true; }
#elif 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
};
#else
const struct UpdaterInfo Updater_Info = { "&eCompile latest source code to update", 0 };
@ -824,19 +832,27 @@ cc_bool Updater_Clean(void) { return true; }
#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 };