diff options
| author | Egor <egor.yusov@gmail.com> | 2018-02-10 19:56:36 +0000 |
|---|---|---|
| committer | Egor <egor.yusov@gmail.com> | 2018-02-10 19:56:36 +0000 |
| commit | d823930b20c37f92073791e18f9e6a744dc34d51 (patch) | |
| tree | 25d8dda1c46a05cd651af4818dd2ba20e44f47eb /unityplugin/GhostCubePlugin/PluginSource | |
| parent | Reworked win32 and uwp cmake build rules (diff) | |
| download | DiligentEngine-d823930b20c37f92073791e18f9e6a744dc34d51.tar.gz DiligentEngine-d823930b20c37f92073791e18f9e6a744dc34d51.zip | |
Fixed linux build
Diffstat (limited to 'unityplugin/GhostCubePlugin/PluginSource')
| -rw-r--r-- | unityplugin/GhostCubePlugin/PluginSource/src/RenderingPlugin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unityplugin/GhostCubePlugin/PluginSource/src/RenderingPlugin.cpp b/unityplugin/GhostCubePlugin/PluginSource/src/RenderingPlugin.cpp index 6699ccb..878c28e 100644 --- a/unityplugin/GhostCubePlugin/PluginSource/src/RenderingPlugin.cpp +++ b/unityplugin/GhostCubePlugin/PluginSource/src/RenderingPlugin.cpp @@ -57,7 +57,7 @@ static void UNITY_INTERFACE_API OnGraphicsDeviceEvent(UnityGfxDeviceEventType ev extern "C" void UNITY_INTERFACE_EXPORT UNITY_INTERFACE_API UnityPluginLoad(IUnityInterfaces* unityInterfaces) { -#if (defined(PLATFORM_WIN32) || defined(PLATFORM_UNIVERSAL_WINDOWS)) && (defined(_DEBUG) || defined(DEBUG)) +#if (PLATFORM_WIN32 || PLATFORM_UNIVERSAL_WINDOWS) && (defined(_DEBUG) || defined(DEBUG)) _CrtSetDbgFlag( _CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF ); #endif |
