From: José Fonseca Date: Fri, 19 Nov 2010 18:57:31 +0000 (+0000) Subject: Fix MSVC build. X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=b07b25799599e3c21fc24e60335462497b48a739;p=apitrace Fix MSVC build. --- 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 };