diff options
| author | Marc Sunet <marc.sunet@amd.com> | 2025-11-19 19:42:04 -0800 |
|---|---|---|
| committer | Marc Sunet <marc.sunet@amd.com> | 2025-11-19 19:42:04 -0800 |
| commit | b5697421bbc73ed17ef3a8bc003571d1b6351b5c (patch) | |
| tree | 655dd8d239e582c6d37609cea95e76a4e6ce24f2 /dxcommon/dxcommon.h | |
| parent | 0cca9d39108e0305d1e278feafa1ca737f436bc9 (diff) | |
Rename dxcommon -> dxg
Diffstat (limited to 'dxcommon/dxcommon.h')
| -rw-r--r-- | dxcommon/dxcommon.h | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/dxcommon/dxcommon.h b/dxcommon/dxcommon.h deleted file mode 100644 index addb8c3..0000000 --- a/dxcommon/dxcommon.h +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | #pragma once | ||
| 2 | |||
| 3 | #include <d3d12.h> | ||
| 4 | #include <dxgi1_4.h> | ||
| 5 | #include <directx/d3dx12.h> | ||
| 6 | |||
| 7 | #define THROW(error) throw exception(error, __FILE__, __LINE__) | ||
| 8 | |||
| 9 | #define ThrowIfFailed(result) \ | ||
| 10 | {\ | ||
| 11 | if (result != S_OK) \ | ||
| 12 | {\ | ||
| 13 | THROW(result);\ | ||
| 14 | }\ | ||
| 15 | } | ||
| 16 | |||
| 17 | //#define IID_PPV_ARGS(ppType) __uuidof(**(ppType)), static_cast<void**>(ppType) | ||
