1
0
mirror of synced 2025-02-28 14:40:27 +01:00

Workaround

This commit is contained in:
dkeruza 2025-02-26 22:05:53 -05:00 committed by GitHub
parent 728c308835
commit 50a1a35f7f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1435,9 +1435,13 @@ void loadLibCg()
void *handle = dlopen("./libCg.so", RTLD_NOW);
if (!handle)
{
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);
handle = dlopen("/app/lib32/libCg2.so", RTLD_NOW);
if (!handle)
{
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];