From 4c759756cdb24109bee27fda5922e2e9e98403ae Mon Sep 17 00:00:00 2001 From: assiduous Date: Wed, 20 May 2020 10:51:17 -0700 Subject: Removed backend macros verification from PlatformDefinitions.h --- Graphics/GraphicsEngine/include/Defines.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Graphics/GraphicsEngine') 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 -- cgit v1.2.3