Browse Source
Use same flags in ExternalMemoryImageCreateInfo
pull/10333/head
Nikita Tsukanov
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
samples/GpuInterop/VulkanDemo/VulkanImage.cs
|
|
|
@ -62,7 +62,7 @@ public unsafe class VulkanImage : IDisposable |
|
|
|
//MipLevels = MipLevels != 0 ? MipLevels : (uint)Math.Floor(Math.Log(Math.Max(Size.Width, Size.Height), 2));
|
|
|
|
|
|
|
|
var handleType = RuntimeInformation.IsOSPlatform(OSPlatform.Windows) ? |
|
|
|
ExternalMemoryHandleTypeFlags.D3D11TextureKmtBit : |
|
|
|
ExternalMemoryHandleTypeFlags.D3D11TextureBit : |
|
|
|
ExternalMemoryHandleTypeFlags.OpaqueFDBit; |
|
|
|
var externalMemoryCreateInfo = new ExternalMemoryImageCreateInfo |
|
|
|
{ |
|
|
|
|