diff options
| author | Egor <egor.yusov@gmail.com> | 2018-02-10 06:57:26 +0000 |
|---|---|---|
| committer | Egor <egor.yusov@gmail.com> | 2018-02-10 06:57:26 +0000 |
| commit | 3ce42d33888d4c7bcf5a27e51882315f00c287ac (patch) | |
| tree | 0d6071234937c123d2733b5076bd973ee725a3e1 /Graphics/GraphicsEngineD3DBase | |
| parent | Fixed Android build (diff) | |
| download | DiligentCore-3ce42d33888d4c7bcf5a27e51882315f00c287ac.tar.gz DiligentCore-3ce42d33888d4c7bcf5a27e51882315f00c287ac.zip | |
Replaced #ifdef PLATFORM_XXX with #if PLATFORM_XXX
Diffstat (limited to 'Graphics/GraphicsEngineD3DBase')
| -rw-r--r-- | Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp b/Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp index d71d6ab4..31332e3e 100644 --- a/Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp +++ b/Graphics/GraphicsEngineD3DBase/src/ShaderD3DBase.cpp @@ -120,7 +120,7 @@ HRESULT CompileShader( const char* Source, auto ErrorDesc = errorss.str(); OutputDebugStringW( ErrorDesc.c_str() ); if( FAILED(hr) -#ifdef PLATFORM_WIN32 +#if PLATFORM_WIN32 && IDRETRY != MessageBoxW( NULL, ErrorDesc.c_str() , L"FX Error", MB_ICONERROR | (Source == nullptr ? MB_ABORTRETRYIGNORE : 0) ) #endif ) |
