]> git.cworth.org Git - apitrace/commitdiff
Fix MSVC build.
authorJosé Fonseca <jfonseca@vmware.com>
Fri, 19 Nov 2010 18:57:31 +0000 (18:57 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 19 Nov 2010 18:57:31 +0000 (18:57 +0000)
d3dshader.py
os_win32.cpp [changed mode: 0644->0755]

index 1cdf7b120ff696efeb2a73c9198d9c9fc7a6b16f..b9e18ab03add0656ba8bae5628d978d5f709dae2 100644 (file)
@@ -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();
old mode 100644 (file)
new mode 100755 (executable)
index 2e28ec8..98e397b
@@ -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
 };