From b07b25799599e3c21fc24e60335462497b48a739 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Fonseca?= Date: Fri, 19 Nov 2010 18:57:31 +0000 Subject: [PATCH] Fix MSVC build. --- d3dshader.py | 2 +- os_win32.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) mode change 100644 => 100755 os_win32.cpp diff --git a/d3dshader.py b/d3dshader.py index 1cdf7b1..b9e18ab 100644 --- a/d3dshader.py +++ b/d3dshader.py @@ -85,7 +85,7 @@ found: LPD3DXBUFFER pDisassembly = NULL; if (pfnD3DXDisassembleShader( (DWORD *)tokens, FALSE, NULL, &pDisassembly) == D3D_OK) - Log::DumpString((char *)pDisassembly->GetBufferPointer()); + Log::LiteralString((char *)pDisassembly->GetBufferPointer()); if(pDisassembly) pDisassembly->Release(); diff --git a/os_win32.cpp b/os_win32.cpp old mode 100644 new mode 100755 index 2e28ec8..98e397b --- a/os_win32.cpp +++ b/os_win32.cpp @@ -37,7 +37,7 @@ namespace OS { */ static CRITICAL_SECTION CriticalSection = { - (_CRITICAL_SECTION_DEBUG *)-1, -1, 0, 0, 0, 0 + (PCRITICAL_SECTION_DEBUG)-1, -1, 0, 0, 0, 0 }; -- 2.45.2