瀏覽代碼

Actually skip PhysX on windows

Daniel Hiltgen 10 月之前
父節點
當前提交
aac367636d
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      gpu/gpu.go

+ 1 - 0
gpu/gpu.go

@@ -296,6 +296,7 @@ func FindGPULibs(baseLibName string, defaultPatterns []string) []string {
 		// Nvidia PhysX known to return bogus results
 		// Nvidia PhysX known to return bogus results
 		if strings.Contains(pattern, "PhysX") {
 		if strings.Contains(pattern, "PhysX") {
 			slog.Debug("skipping PhysX cuda library path", "path", pattern)
 			slog.Debug("skipping PhysX cuda library path", "path", pattern)
+			continue
 		}
 		}
 		// Ignore glob discovery errors
 		// Ignore glob discovery errors
 		matches, _ := filepath.Glob(pattern)
 		matches, _ := filepath.Glob(pattern)