File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- export VULKAN_SDK=$HOME /vulkansdk-macos-1.1.92.1 /macOS
2
+ export VULKAN_SDK=$HOME /vulkansdk-macos-1.1.97.0 /macOS
3
3
export PATH=$VULKAN_SDK /bin:$PATH
4
4
export DYLD_LIBRARY_PATH=$VULKAN_SDK /lib:$DYLD_LIBRARY_PATH
5
5
export VK_ICD_FILENAMES=$VULKAN_SDK /etc/vulkan/icd.d/MoltenVK_icd.json
Original file line number Diff line number Diff line change @@ -720,10 +720,10 @@ impl HelloTriangleApplication {
720
720
721
721
match future {
722
722
Ok ( future) => {
723
- // This makes sure the CPU stays in sync with the GPU
724
- // Not sure if this means we don't need to store the previous_frame_end since we're
725
- // explicitly waiting for it?
726
- future. wait ( None ) ;
723
+ // This makes sure the CPU stays in sync with the GPU in situations when the CPU is
724
+ // running "too fast"
725
+ # [ cfg ( target_os = "macos" ) ]
726
+ future. wait ( None ) . unwrap ( ) ;
727
727
728
728
self . previous_frame_end = Some ( Box :: new ( future) as Box < _ > ) ;
729
729
}
You can’t perform that action at this time.
0 commit comments