Browse Source

Merge pull request #1851 from DaseinPhaos/patch-1

Add missing field for `TEXTURE_COPY_LOCATION`
gingerBill 3 years ago
parent
commit
f1e8738af2
1 changed files with 4 additions and 0 deletions
  1. 4 0
      vendor/directx/d3d12/d3d12.odin

+ 4 - 0
vendor/directx/d3d12/d3d12.odin

@@ -1459,6 +1459,10 @@ TEXTURE_COPY_TYPE :: enum i32 {
 TEXTURE_COPY_LOCATION :: struct {
 	pResource: ^IResource,
 	Type:      TEXTURE_COPY_TYPE,
+	using _: struct #raw_union {
+		PlacedFootprint:  PLACED_SUBRESOURCE_FOOTPRINT,
+		SubresourceIndex: u32,
+	},
 }
 
 RESOLVE_MODE :: enum i32 {