From f53a05d768bfd52817155f8cce6eb5b8fa635b11 Mon Sep 17 00:00:00 2001 From: SolDev69 Date: Thu, 1 Aug 2024 11:10:39 -0400 Subject: [PATCH] try fix virgl --- app_pojavlauncher/src/main/jni/egl_bridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app_pojavlauncher/src/main/jni/egl_bridge.c b/app_pojavlauncher/src/main/jni/egl_bridge.c index 4d2cb04e16..f09abe7eae 100644 --- a/app_pojavlauncher/src/main/jni/egl_bridge.c +++ b/app_pojavlauncher/src/main/jni/egl_bridge.c @@ -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())