update SetTextureData

pull/1/head
cosmonaut 2021-11-14 20:41:23 -08:00
parent f777e1860b
commit a44d2cbe63
1 changed files with 3 additions and 1 deletions

View File

@ -749,7 +749,8 @@ namespace RefreshCS
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void Refresh_SetTextureData(
IntPtr device,
in TextureSlice textureSlice,
IntPtr commandBuffer,
ref TextureSlice textureSlice,
IntPtr data,
uint dataLengthInBytes
);
@ -757,6 +758,7 @@ namespace RefreshCS
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void Refresh_SetTextureDataYUV(
IntPtr device,
IntPtr commandBuffer,
IntPtr y,
IntPtr u,
IntPtr v,