Skip to content

Run Windows games on Apple Silicon — free, open source, with an open compatibility database that tells you what actually works.

tests: the fixture engine only resolves wined3d, check the GL switch there

Gauthier Piarrettedf3736100263
diff --git a/Tests/HighballKitTests/EnvironmentTests.swift b/Tests/HighballKitTests/EnvironmentTests.swift
index da08e35..e1c5e83 100644
--- a/Tests/HighballKitTests/EnvironmentTests.swift
+++ b/Tests/HighballKitTests/EnvironmentTests.swift
@@ -163,8 +163,7 @@ final class EnvironmentTests: XCTestCase {
/// macOS unless Wine adds it; the engine's Mac driver reads this switch (highball#136).
func testForwardCompatibleGLContextsAreOnForEveryLaunch() throws {
let (engine, bottle) = try fixtures()
- for r in [Renderer.dxvk, .dxmt, .wined3d] {
- XCTAssertEqual(try bottle.environment(engine: engine, renderer: r)["CX_FWD_COMPAT_GL_CTX"], "1", "\(r)")
- }
+ // The fixture engine has no renderer overlays on disk, so wined3d is the mode that resolves.
+ XCTAssertEqual(try bottle.environment(engine: engine, renderer: .wined3d)["CX_FWD_COMPAT_GL_CTX"], "1")
}
}