MetalKit / metal

MIT License
896 stars 149 forks source link

Fix all example playgrounds #12

Open cegiela opened 1 year ago

cegiela commented 1 year ago

@mhorga The playgrounds were failing to run due to .metal files being silently ignored in Playground. The issue was not with paths but with the .metal filetype. I changed the Shaders files to a .txt filetype and everything works well. All playgrounds updated, including Chapter 18, which is now using the same method of injecting metal code as the others.

cegiela commented 1 year ago

This fixes https://github.com/MetalKit/metal/issues/9#issue-743005480