mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-06-28 19:36:24 +02:00
separate game loading from surface creation
This commit is contained in:
parent
398fb78a31
commit
a050e5c6c0
7 changed files with 158 additions and 104 deletions
|
@ -218,7 +218,6 @@ namespace LibRyujinx
|
|||
public unsafe static JBoolean JniInitializeGraphicsRendererNative(JEnvRef jEnv,
|
||||
JObjectLocalRef jObj,
|
||||
JArrayLocalRef extensionsArray,
|
||||
JLong surfacePtr,
|
||||
JLong driverHandle)
|
||||
{
|
||||
if (Renderer != null)
|
||||
|
@ -254,10 +253,6 @@ namespace LibRyujinx
|
|||
extensions.Add(GetString(jEnv, ext));
|
||||
}
|
||||
|
||||
_surfaceEvent.Set();
|
||||
|
||||
_surfacePtr = surfacePtr;
|
||||
|
||||
if((long)driverHandle != 0)
|
||||
{
|
||||
VulkanLoader = new VulkanLoader((IntPtr)(long)driverHandle);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue