Skip to content

Commit

Permalink
UMP stage 1 part 3
Browse files Browse the repository at this point in the history
I swear I added softpipe in stage 1, maybe I forgor to save the file somehow even tho I saved it before the commit? I have no clue, if anything else needs to be updated that will have to wait until tomorrow
  • Loading branch information
SolDev69 committed Jan 1, 2024
1 parent cd5f832 commit 13c2f02
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions app_pojavlauncher/src/main/jni/egl_bridge.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ int pojavInitOpenGL() {
} else if (strncmp("opengles", renderer, 8) == 0) {
pojav_environ->config_renderer = RENDERER_GL4ES;
set_gl_bridge_tbl();
} else if (strcmp(renderer, "vulkan_zink") == 0 || strcmp(rendersd, "vulkan_zink_legacy") == 0) {
} else if (strcmp(renderer, "vulkan_zink") == 0 || strcmp(renders, "vulkan_zink_legacy") == 0) {
pojav_environ->config_renderer = RENDERER_VK_ZINK;
load_vulkan();
setenv("MESA_LOADER_DRIVER_OVERRIDE","zink",1);
Expand All @@ -224,7 +224,11 @@ int pojavInitOpenGL() {
setenv("GALLIUM_DRIVER", "freedreno", 1);
setenv("MESA_LOADER_DRIVER_OVERRIDE", "kgsl", 1);
set_osm_bridge_tbl();
} else if
} else if (strcmp(renderer, "swrast") == 0) {
pojav_environ->config_renderer = RENDERER_VK_ZINK;
setenv("GALLIUM_DRIVER", "softpipe", 1);
setenv("LIBGL_ALWAYS_SOFTWARE", "1", 1);
set_osm_bridge_tbl();
}
if(br_init()) {
br_setup_window();
Expand Down

0 comments on commit 13c2f02

Please sign in to comment.