@@ -223,15 +223,6 @@ public static void setJavaEnvironment(Activity activity, String jreHome) throws
223223 envMap .put ("MG_DIR_PATH" , Tools .DIR_DATA + "/MobileGlues" );
224224 envMap .put ("POJAVEXEC_EGL" ,"libmobileglues.so" );
225225 }
226- if (LOCAL_RENDERER .equals ("opengles3_desktopgl_zink_kopper" )){
227- envMap .put ("POJAVEXEC_EGL" ,"libEGL_mesa.so" ); // Use Mesa EGL
228- if (Tools .shouldUseUBWC ()) envMap .put ("FD_DEV_FEATURES" , "enable_tp_ubwc_flag_hint=1" ); // Turnip fix for OneUI rendering issues
229- }
230- if (LOCAL_RENDERER .toLowerCase ().contains ("zink" )){
231- // This is sketch but it fixes a lot of things, if it causes problems we can just undo it.
232- envMap .put ("MESA_GL_VERSION_OVERRIDE" ,"4.6COMPAT" );
233- envMap .put ("MESA_GLSL_VERSION_OVERRIDE" ,"460" );
234- }
235226 }
236227 if (LauncherPreferences .PREF_BIG_CORE_AFFINITY ) envMap .put ("POJAV_BIG_CORE_AFFINITY" , "1" );
237228 envMap .put ("AWTSTUB_WIDTH" , Integer .toString (CallbackBridge .windowWidth > 0 ? CallbackBridge .windowWidth : CallbackBridge .physicalWidth ));
@@ -486,7 +477,7 @@ public static String loadGraphicsLibrary(){
486477 renderLibrary = "libgl4es_114.so" ; break ;
487478 case "vulkan_zink" : renderLibrary = "libOSMesa.so" ; break ;
488479 case "opengles_mobileglues" : renderLibrary = "libmobileglues.so" ; break ;
489- case "opengles3_desktopgl_zink_kopper " : renderLibrary = "libglxshim.so" ; break ;
480+ case "opengles3_desktopgl_zink " : renderLibrary = "libglxshim.so" ; break ;
490481 case "opengles3_ltw" : renderLibrary = "libltw.so" ; break ;
491482 default :
492483 Log .w ("RENDER_LIBRARY" , "No renderer selected, defaulting to opengles2" );
0 commit comments