Browse Source

Removed dxguid from shaderc, use INITGUID instead.

Branimir Karadžić 10 years ago
parent
commit
29001134ca
2 changed files with 3 additions and 3 deletions
  1. 2 3
      scripts/shaderc.lua
  2. 1 0
      tools/shaderc/shaderc_hlsl.cpp

+ 2 - 3
scripts/shaderc.lua

@@ -50,7 +50,7 @@ project "shaderc"
 			"Cocoa.framework",
 		}
 
-	configuration { "windows", "vs*" }
+	configuration { "vs*" }
 		includedirs {
 			path.join(GLSL_OPTIMIZER, "include/c99"),
 		}
@@ -61,10 +61,9 @@ project "shaderc"
 		}
 
 
-	configuration { "windows" }
+	configuration { "vs* or mingw*" }
 		links {
 			"d3dcompiler",
-			"dxguid",
 		}
 
 	configuration {}

+ 1 - 0
tools/shaderc/shaderc_hlsl.cpp

@@ -7,6 +7,7 @@
 
 #if SHADERC_CONFIG_HLSL
 
+#define INITGUID
 #include <d3dcompiler.h>
 #include <d3d11shader.h>