Android renderThreadManager changed to non static (#2872)

This commit is contained in:
Alex Cristici
2024-09-24 17:57:46 +03:00
committed by GitHub
parent 8b6bc742cc
commit 3c250e84e5
3 changed files with 6 additions and 4 deletions

View File

@@ -25,7 +25,7 @@ public class MapLibreVulkanSurfaceView extends MapLibreSurfaceView {
static class VulkanThread extends MapLibreSurfaceView.RenderThread {
VulkanThread(WeakReference<MapLibreVulkanSurfaceView> surfaceViewWeakRef) {
super();
super(surfaceViewWeakRef.get().renderThreadManager);
mSurfaceViewWeakRef = surfaceViewWeakRef;
}