Skip to content
This repository was archived by the owner on Jun 1, 2026. It is now read-only.

Commit 444a9aa

Browse files
committed
fix sodium
hopefully
1 parent 08fa75e commit 444a9aa

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/JREUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ public static void setJavaEnvironment(Activity activity, String jreHome) throws
213213
}
214214

215215
if(LOCAL_RENDERER != null) {
216-
envMap.put("POJAV_RENDERER", LOCAL_RENDERER);
216+
envMap.put("SOLCRAFT_RENDERER", LOCAL_RENDERER);
217217
if(LOCAL_RENDERER.equals("opengles3_ltw")) {
218218
envMap.put("LIBGL_ES", "3");
219219
envMap.put("POJAVEXEC_EGL","libltw.so"); // Use ANGLE EGL

app_pojavlauncher/src/main/jni/ctxbridges/gl_bridge.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ gl_render_window_t* gl_init_context(gl_render_window_t *share) {
7777

7878
{
7979
EGLBoolean bindResult;
80-
if (strncmp(getenv("POJAV_RENDERER"), "opengles3_desktopgl", 19) == 0) {
80+
if (strncmp(getenv("SOLCRAFT_RENDERER"), "opengles3_desktopgl", 19) == 0) {
8181
printf("EGLBridge: Binding to desktop OpenGL\n");
8282
bindResult = eglBindAPI_p(EGL_OPENGL_API);
8383
} else {

app_pojavlauncher/src/main/jni/egl_bridge.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ int pojavInitOpenGL() {
162162
pojav_environ->force_vsync = true;
163163

164164
// NOTE: Override for now.
165-
const char *renderer = getenv("POJAV_RENDERER");
165+
const char *renderer = getenv("SOLCRAFT_RENDERER");
166166
if (strncmp("opengles", renderer, 8) == 0) {
167167
pojav_environ->config_renderer = RENDERER_GL4ES;
168168
set_gl_bridge_tbl();

0 commit comments

Comments
 (0)