From 4ce52374ba2cecc80669db630dfea6cf34f76965 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Sun, 4 Mar 2018 12:35:31 -0800 Subject: Enabled build with Win8.1 SDK Replaced OPENGL_SUPPORTED macro with GL_SUPPORTED and GLES_SUPPORTED --- unityplugin/GhostCubePlugin/PluginSource/src/PlatformBase.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'unityplugin/GhostCubePlugin/PluginSource') diff --git a/unityplugin/GhostCubePlugin/PluginSource/src/PlatformBase.h b/unityplugin/GhostCubePlugin/PluginSource/src/PlatformBase.h index b691136..fc407b0 100644 --- a/unityplugin/GhostCubePlugin/PluginSource/src/PlatformBase.h +++ b/unityplugin/GhostCubePlugin/PluginSource/src/PlatformBase.h @@ -34,13 +34,13 @@ // Which graphics device APIs we possibly support? #if UNITY_METRO - #define SUPPORT_D3D11 1 + #define SUPPORT_D3D11 D3D11_SUPPORTED #if WINDOWS_UWP - #define SUPPORT_D3D12 1 + #define SUPPORT_D3D12 D3D12_SUPPORTED #endif #elif UNITY_WIN - #define SUPPORT_D3D11 1 - #define SUPPORT_D3D12 1 + #define SUPPORT_D3D11 D3D11_SUPPORTED + #define SUPPORT_D3D12 D3D12_SUPPORTED #define SUPPORT_OPENGL_UNIFIED 1 #define SUPPORT_OPENGL_CORE 1 #elif UNITY_IPHONE || UNITY_ANDROID || UNITY_WEBGL -- cgit v1.2.3