Skip to content

Commit

Permalink
remove hardcoded macos stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
0xcaff committed Oct 6, 2024
1 parent 94527ce commit c230f23
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 0 additions & 1 deletion packages/extern_traces_viewer/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ fn main() {
let git_short_hash = String::from_utf8(output.stdout).unwrap();

println!("cargo:rustc-env=GIT_SHA_SHORT={}", git_short_hash.trim());
println!("cargo:rustc-link-lib=framework=Metal");
}
7 changes: 1 addition & 6 deletions packages/extern_traces_viewer/src/gfx_debug/ctx.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,7 @@ pub struct GraphicsContext {

impl GraphicsContext {
pub fn init() -> (GraphicsContext, DebugHandle) {
let loader = unsafe {
DynamicLibraryLoader::new("/opt/homebrew/Cellar/molten-vk/1.2.10/lib/libMoltenVK.dylib")
.unwrap()
};

let library = VulkanLibrary::with_loader(loader).unwrap();
let library = VulkanLibrary::new().unwrap();

let instance = Instance::new(
library,
Expand Down

0 comments on commit c230f23

Please sign in to comment.