diff options
| author | Egor <egor.yusov@gmail.com> | 2018-02-10 06:58:17 +0000 |
|---|---|---|
| committer | Egor <egor.yusov@gmail.com> | 2018-02-10 06:58:17 +0000 |
| commit | 7d60721e6f96637eaf836579dd95582279a909c6 (patch) | |
| tree | 30fca056d4e81442ed04a948882607e4ae265a02 /RenderScript/include | |
| parent | Update README.md (diff) | |
| download | DiligentTools-7d60721e6f96637eaf836579dd95582279a909c6.tar.gz DiligentTools-7d60721e6f96637eaf836579dd95582279a909c6.zip | |
Replaced #ifdef PLATFORM_XXX with #if PLATFORM_XXX
Diffstat (limited to 'RenderScript/include')
| -rw-r--r-- | RenderScript/include/ConvenienceFunctions.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/RenderScript/include/ConvenienceFunctions.h b/RenderScript/include/ConvenienceFunctions.h index 08e7982..582f2a3 100644 --- a/RenderScript/include/ConvenienceFunctions.h +++ b/RenderScript/include/ConvenienceFunctions.h @@ -43,7 +43,7 @@ Diligent::RefCntAutoPtr<Diligent::ScriptParser> CreateRenderScriptFromFile( cons { bool bSuccess = true; Diligent::RefCntAutoPtr<Diligent::ScriptParser> pScriptParser; -#ifdef PLATFORM_WIN32 +#if PLATFORM_WIN32 do { #endif @@ -73,7 +73,7 @@ Diligent::RefCntAutoPtr<Diligent::ScriptParser> CreateRenderScriptFromFile( cons ErrorMsg = err.what(); } -#ifdef PLATFORM_WIN32 +#if PLATFORM_WIN32 if( !bSuccess ) { if( IDRETRY != MessageBoxA( NULL, "Failed to parse the script. Retry?", "Lua parser error", MB_ICONERROR | MB_ABORTRETRYIGNORE ) ) |
