From 9629a547c6d9241153f4b689309da67fe4cf3cb0 Mon Sep 17 00:00:00 2001 From: chumv Date: Thu, 5 Dec 2024 16:42:31 +0200 Subject: [PATCH] Fix check for preference --- .../src/net/osmand/plus/views/corenative/NativeCoreContext.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/views/corenative/NativeCoreContext.java b/OsmAnd/src/net/osmand/plus/views/corenative/NativeCoreContext.java index 91f391a7d4f..36f076e3830 100644 --- a/OsmAnd/src/net/osmand/plus/views/corenative/NativeCoreContext.java +++ b/OsmAnd/src/net/osmand/plus/views/corenative/NativeCoreContext.java @@ -53,7 +53,7 @@ public static void init(@NonNull OsmandApplication app) { else NativeCore.load(assets, ""); } - if (NativeCore.isLoaded() && (!NativeCore.is64Bit() || app.getSettings().USE_OPENGL_RENDER.isSet())) { + if (NativeCore.isLoaded() && (NativeCore.is64Bit() || app.getSettings().USE_OPENGL_RENDER.isSet())) { File directory = app.getAppPath(""); Logger.get().addLogSink(QIODeviceLogSink.createFileLogSink(new File(directory, LOG_FILE_NAME).getAbsolutePath()));