Parcourir la source

Actually skip PhysX on windows

Daniel Hiltgen il y a 11 mois
Parent
commit
aac367636d
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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
 		if strings.Contains(pattern, "PhysX") {
 			slog.Debug("skipping PhysX cuda library path", "path", pattern)
+			continue
 		}
 		// Ignore glob discovery errors
 		matches, _ := filepath.Glob(pattern)