Skip to content

Commit

Permalink
try fix virgl
Browse files Browse the repository at this point in the history
  • Loading branch information
SolDev69 committed Aug 1, 2024
1 parent 7b18471 commit f53a05d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app_pojavlauncher/src/main/jni/egl_bridge.c
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ int pojavInitOpenGL() {

// NOTE: Override for now.
const char *renderer = getenv("POJAV_RENDERER");
if (strcmp(renderer, "virgl") == 0 || strcmp(renderer, "virgl_a") == 0) {
if (strncmp("virgl", renderer, 15) == 0) {
solcraft_environ->config_renderer = RENDERER_VIRGL;
setenv("GALLIUM_DRIVER","virpipe",1);
if(!checkAdrenoGraphics())
Expand Down

0 comments on commit f53a05d

Please sign in to comment.