From 5d3acf98041e55898cc41e2d58bb3ecad248eab6 Mon Sep 17 00:00:00 2001 From: ShirosakiMio <852468399@qq.com> Date: Tue, 20 Aug 2024 11:02:17 +0800 Subject: [PATCH] Update osm_bridge.c --- FCLauncher/src/main/jni/pojav/ctxbridges/osm_bridge.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FCLauncher/src/main/jni/pojav/ctxbridges/osm_bridge.c b/FCLauncher/src/main/jni/pojav/ctxbridges/osm_bridge.c index f35f4ab9..454202fe 100644 --- a/FCLauncher/src/main/jni/pojav/ctxbridges/osm_bridge.c +++ b/FCLauncher/src/main/jni/pojav/ctxbridges/osm_bridge.c @@ -11,6 +11,7 @@ static const char* g_LogTag = "GLBridge"; static __thread osm_render_window_t* currentBundle; // a tiny buffer for rendering when there's nowhere t render static char no_render_buffer[4]; +static bool hasSetNoRendererBuffer = false; // Its not in a .h file because it is not supposed to be used outsife of this file. void setNativeWindowSwapInterval(struct ANativeWindow* nativeWindow, int swapInterval); @@ -92,7 +93,6 @@ void osm_make_current(osm_render_window_t* bundle) { currentBundle = NULL; return; } - bool hasSetNoRendererBuffer = false; bool hasSetMainWindow = false; currentBundle = bundle; if(pojav_environ->mainWindowBundle == NULL) {