Skip to content

Commit

Permalink
use the correct library for virgl
Browse files Browse the repository at this point in the history
  • Loading branch information
SolDev69 committed Jan 18, 2024
1 parent ee43ccd commit a0ce91a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -460,10 +460,10 @@ public static String loadGraphicsLibrary(){
case "malihw_panfrost":
renderLibrary = "libOSMesa_pan.so";
break;
case "virgl":
case "vulkan_zink_legacy":
renderLibrary = "libOSMesa_znL.so";
break;
case "virgl":
case "malihw_panfrost-new":
case "vulkan_zink":
case "swrast":
Expand Down
2 changes: 1 addition & 1 deletion app_pojavlauncher/src/main/jni/ctxbridges/osmesa_loader.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void dlsym_OSMesa() {
}
free(main_path);
} else if(pojav_environ->config_renderer == RENDERER_VIRGL) {
if(asprintf(&main_path, "%s/libOSMesa.so", getenv("POJAV_NATIVEDIR")) == -1) {
if(asprintf(&main_path, "%s/libOSMesa_znL.so", getenv("POJAV_NATIVEDIR")) == -1) {
abort();
}
}
Expand Down

0 comments on commit a0ce91a

Please sign in to comment.