Browse Source

Merge pull request #3422 from wrapperup/add-dxc-vendor-docs

Add dxc to all_vendor.odin, fix dxc build on freebsd/openbsd
gingerBill 1 year ago
parent
commit
6ee818b394
2 changed files with 3 additions and 1 deletions
  1. 2 0
      examples/all/all_vendor.odin
  2. 1 1
      vendor/directx/dxc/dxcdef_unix.odin

+ 2 - 0
examples/all/all_vendor.odin

@@ -73,10 +73,12 @@ _ :: MTK
 _ :: CA
 
 
+import DXC   "vendor:directx/dxc"
 import D3D11 "vendor:directx/d3d11"
 import D3D12 "vendor:directx/d3d12"
 import DXGI  "vendor:directx/dxgi"
 
+_ :: DXC
 _ :: D3D11
 _ :: D3D12
 _ :: DXGI

+ 1 - 1
vendor/directx/dxc/dxcdef_unix.odin

@@ -1,4 +1,4 @@
-//+build linux, darwin
+//+build linux, darwin, freebsd, openbsd
 package directx_dxc
 import "core:c"