Compare commits

..
1 Commits
Author SHA1 Message Date
dkeruza 50a1a35f7f Workaround 2025-02-26 22:05:53 -05:00
+7 -3
View File
@@ -1435,9 +1435,13 @@ void loadLibCg()
void *handle = dlopen("./libCg.so", RTLD_NOW); void *handle = dlopen("./libCg.so", RTLD_NOW);
if (!handle) if (!handle)
{ {
fprintf(stderr, "Error: Unable to load library libCg.so %s\n", dlerror()); handle = dlopen("/app/lib32/libCg2.so", RTLD_NOW);
fprintf(stderr, "Error: libCg.so version 2.0 is needed to compile the shaders in the game's folder.\n"); if (!handle)
exit(1); {
fprintf(stderr, "Error: Unable to load library libCg.so %s\n", dlerror());
fprintf(stderr, "Error: libCg.so version 2.0 is needed to compile the shaders in the game's folder.\n");
exit(1);
}
} }
char libCgVersion[9]; char libCgVersion[9];