mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-17 11:35:08 -04:00
un-un-un-un-re-enable ModernGL build
Also slightly improve raspberry pi builds by adding 64 bit build and using 'OpenGL ES' instead of 'OpenGL'
This commit is contained in:
parent
8db639020e
commit
d62b387363
@ -769,66 +769,54 @@ static cc_result Process_RawGetExePath(char* path, int* len) {
|
|||||||
const char* const Updater_D3D9 = NULL;
|
const char* const Updater_D3D9 = NULL;
|
||||||
cc_bool Updater_Clean(void) { return true; }
|
cc_bool Updater_Clean(void) { return true; }
|
||||||
|
|
||||||
#if defined CC_BUILD_LINUX
|
#if defined CC_BUILD_RPI
|
||||||
#if __x86_64__
|
#if __aarch64__
|
||||||
const struct UpdaterInfo Updater_Info = {
|
const struct UpdaterInfo Updater_Info = { "", 1, { { "OpenGL ES", "cc-rpi64" } } };
|
||||||
#ifndef CC_BUILD_GLMODERN
|
|
||||||
"", 1, { { "OpenGL", "ClassiCube" } }
|
|
||||||
#else
|
#else
|
||||||
"&eModernGL is recommended for newer machines (2010 or later)", 2,
|
const struct UpdaterInfo Updater_Info = { "", 1, { { "OpenGL ES", "ClassiCube.rpi" } } };
|
||||||
{
|
|
||||||
{ "ModernGL", "cc-nix64-gl2" },
|
|
||||||
{ "OpenGL", "ClassiCube" }
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
};
|
#elif defined CC_BUILD_LINUX
|
||||||
#elif __i386__
|
#if __x86_64__
|
||||||
const struct UpdaterInfo Updater_Info = {
|
const struct UpdaterInfo Updater_Info = {
|
||||||
#ifndef CC_BUILD_GLMODERN
|
"&eModernGL is recommended for newer machines (2010 or later)", 2,
|
||||||
"", 1, { { "OpenGL", "ClassiCube.32" } }
|
{
|
||||||
|
{ "ModernGL", "cc-nix64-gl2" },
|
||||||
|
{ "OpenGL", "ClassiCube" }
|
||||||
|
}
|
||||||
|
};
|
||||||
|
#elif __i386__
|
||||||
|
const struct UpdaterInfo Updater_Info = {
|
||||||
|
"&eModernGL is recommended for newer machines (2010 or later)", 2,
|
||||||
|
{
|
||||||
|
{ "ModernGL", "cc-nix32-gl2" },
|
||||||
|
{ "OpenGL", "ClassiCube.32" }
|
||||||
|
}
|
||||||
|
};
|
||||||
#else
|
#else
|
||||||
"&eModernGL is recommended for newer machines (2010 or later)", 2,
|
const struct UpdaterInfo Updater_Info = { "&eCompile latest source code to update", 0 };
|
||||||
{
|
|
||||||
{ "ModernGL", "cc-nix32-gl2" },
|
|
||||||
{ "OpenGL", "ClassiCube.32" }
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
};
|
|
||||||
#elif CC_BUILD_RPI
|
|
||||||
const struct UpdaterInfo Updater_Info = { "", 1, { { "OpenGL", "ClassiCube.rpi" } } };
|
|
||||||
#else
|
|
||||||
const struct UpdaterInfo Updater_Info = { "&eCompile latest source code to update", 0 };
|
|
||||||
#endif
|
|
||||||
#elif defined CC_BUILD_MACOS
|
#elif defined CC_BUILD_MACOS
|
||||||
#if __x86_64__
|
#if __x86_64__
|
||||||
const struct UpdaterInfo Updater_Info = {
|
const struct UpdaterInfo Updater_Info = {
|
||||||
#ifndef CC_BUILD_GLMODERN
|
"&eModernGL is recommended for newer machines (2010 or later)", 2,
|
||||||
"", 1, { { "OpenGL", "ClassiCube.64.osx" } }
|
{
|
||||||
|
{ "ModernGL", "cc-osx64-gl2" },
|
||||||
|
{ "OpenGL", "ClassiCube.64.osx" }
|
||||||
|
}
|
||||||
|
};
|
||||||
|
#elif __i386__
|
||||||
|
const struct UpdaterInfo Updater_Info = {
|
||||||
|
"&eModernGL is recommended for newer machines (2010 or later)", 2,
|
||||||
|
{
|
||||||
|
{ "ModernGL", "cc-osx32-gl2" },
|
||||||
|
{ "OpenGL", "ClassiCube.osx" }
|
||||||
|
}
|
||||||
|
};
|
||||||
#else
|
#else
|
||||||
"&eModernGL is recommended for newer machines (2010 or later)", 2,
|
const struct UpdaterInfo Updater_Info = { "&eCompile latest source code to update", 0 };
|
||||||
{
|
|
||||||
{ "ModernGL", "cc-osx64-gl2" },
|
|
||||||
{ "OpenGL", "ClassiCube.64.osx" }
|
|
||||||
}
|
|
||||||
#endif
|
#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
|
#else
|
||||||
const struct UpdaterInfo Updater_Info = { "&eCompile latest source code to update", 0 };
|
const struct UpdaterInfo Updater_Info = { "&eCompile latest source code to update", 0 };
|
||||||
#endif
|
|
||||||
#else
|
|
||||||
const struct UpdaterInfo Updater_Info = { "&eCompile latest source code to update", 0 };
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
cc_result Updater_Start(const char** action) {
|
cc_result Updater_Start(const char** action) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user