summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineD3DBase
diff options
context:
space:
mode:
authorEgor <egor.yusov@gmail.com>2018-02-10 06:57:26 +0000
committerEgor <egor.yusov@gmail.com>2018-02-10 06:57:26 +0000
commit3ce42d33888d4c7bcf5a27e51882315f00c287ac (patch)
tree0d6071234937c123d2733b5076bd973ee725a3e1 /Graphics/GraphicsEngineD3DBase
parentFixed Android build (diff)
downloadDiligentCore-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.cpp2
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
)