mirror of
https://github.com/odin-lang/Odin.git
synced 2026-06-13 13:53:43 +00:00
Fix procedures that use the DXGI link_prefix
This commit is contained in:
7
vendor/directx/dxgi/dxgi.odin
vendored
7
vendor/directx/dxgi/dxgi.odin
vendored
@@ -39,10 +39,15 @@ foreign dxgi {
|
||||
CreateDXGIFactory :: proc(riid: ^IID, ppFactory: ^rawptr) -> HRESULT ---
|
||||
CreateDXGIFactory1 :: proc(riid: ^IID, ppFactory: ^rawptr) -> HRESULT ---
|
||||
CreateDXGIFactory2 :: proc(Flags: CREATE_FACTORY, riid: ^IID, ppFactory: ^rawptr) -> HRESULT ---
|
||||
DXGIGetDebugInterface1 :: proc(Flags: u32, riid: ^IID, pDebug: ^rawptr) -> HRESULT ---
|
||||
}
|
||||
|
||||
@(default_calling_convention="system", link_prefix="DXGI")
|
||||
foreign dxgi {
|
||||
GetDebugInterface1 :: proc(Flags: u32, riid: ^IID, pDebug: ^rawptr) -> HRESULT ---
|
||||
DeclareAdapterRemovalSupport :: proc() -> HRESULT ---
|
||||
}
|
||||
|
||||
|
||||
STANDARD_MULTISAMPLE_QUALITY_PATTERN :: 0xffffffff
|
||||
CENTER_MULTISAMPLE_QUALITY_PATTERN :: 0xfffffffe
|
||||
FORMAT_DEFINED :: 1
|
||||
|
||||
Reference in New Issue
Block a user