change backend selection behavior
parent
859675dbab
commit
55acf6ee18
|
@ -322,7 +322,6 @@ namespace RefreshCS
|
||||||
|
|
||||||
public enum Backend
|
public enum Backend
|
||||||
{
|
{
|
||||||
DontCare,
|
|
||||||
Vulkan,
|
Vulkan,
|
||||||
D3D11,
|
D3D11,
|
||||||
PS5,
|
PS5,
|
||||||
|
@ -652,8 +651,9 @@ namespace RefreshCS
|
||||||
/* Init/Quit */
|
/* Init/Quit */
|
||||||
|
|
||||||
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern Backend Refresh_SelectBackend(
|
public static unsafe extern Backend Refresh_SelectBackend(
|
||||||
Backend preferredBackend,
|
Backend* preferredBackends,
|
||||||
|
uint preferredBackendCount,
|
||||||
out uint flags
|
out uint flags
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue