Skip to content

Commit

Permalink
UsdView: Fix conditional compilation of engine.
Browse files Browse the repository at this point in the history
Signed-off-by: furby™ <devs@wabi.foundation>
  • Loading branch information
furby-tm committed Sep 17, 2024
1 parent 761029d commit c47d78c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/UsdView/Hydra/Hydra+RenderEngine.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public enum Hydra
{
self.stage = stage

#if canImport(HgiMetal) && canImport(UsdImagingGL)
#if !os(Linux) && !os(Windows) && !os(Android) && canImport(HgiMetal) && canImport(UsdImagingGL)
engine = Hydra.MTLRenderer(stage: stage)
#elseif canImport(HgiGL) && canImport(UsdImagingGL)
engine = Hydra.GLRenderer(stage: stage)
Expand Down

0 comments on commit c47d78c

Please sign in to comment.