diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-05-20 17:51:17 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-05-20 17:51:17 +0000 |
| commit | 4c759756cdb24109bee27fda5922e2e9e98403ae (patch) | |
| tree | ce41852bec0a42526e9a14eff700216435f56df9 /Graphics/GraphicsEngine | |
| parent | Improved latency handling in D3D11 and D3D12 (API 240061, fixed https://githu... (diff) | |
| download | DiligentCore-4c759756cdb24109bee27fda5922e2e9e98403ae.tar.gz DiligentCore-4c759756cdb24109bee27fda5922e2e9e98403ae.zip | |
Removed backend macros verification from PlatformDefinitions.h
Diffstat (limited to 'Graphics/GraphicsEngine')
| -rw-r--r-- | Graphics/GraphicsEngine/include/Defines.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Graphics/GraphicsEngine/include/Defines.h b/Graphics/GraphicsEngine/include/Defines.h index d283cf70..be44e098 100644 --- a/Graphics/GraphicsEngine/include/Defines.h +++ b/Graphics/GraphicsEngine/include/Defines.h @@ -26,3 +26,7 @@ */ #pragma once + +#if !D3D11_SUPPORTED && !D3D12_SUPPORTED && !GL_SUPPORTED && !GLES_SUPPORTED && !VULKAN_SUPPORTED && !METAL_SUPPORTED +# error No API is supported on this platform. At least one of D3D11_SUPPORTED, D3D12_SUPPORTED, GL_SUPPORTED, GLES_SUPPORTED, VULKAN_SUPPORTED, or METAL_SUPPORTED macros must be defined as 1. +#endif |
