Skip to content

Commit

Permalink
chore(Core): oxford commas are important
Browse files Browse the repository at this point in the history
  • Loading branch information
RonaldZielaznicki authored and slimsag committed Oct 25, 2024
1 parent ef74e6a commit 7220f36
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Core.zig
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ pub fn deinit(entities: *mach.Entities.Mod, core: *Mod) !void {

// GPU backend (ie. d3d12, metal, opengl, vulkan)
//
// Must be done BEFORE platform deinit.
// Must be released BEFORE platform deinit.
// Otherwise, we enter a race condition where GPU might try to present
// to the window server.
state.swap_chain.release();
Expand All @@ -367,7 +367,7 @@ pub fn deinit(entities: *mach.Entities.Mod, core: *Mod) !void {
state.adapter.release();
state.instance.release();

// Platform (ie. Windows, MacOS, Linux X11 or Wayland)
// Platform (ie. Windows, MacOS, Linux X11, or Wayland)
state.platform.deinit();

state.events.deinit();
Expand Down

0 comments on commit 7220f36

Please sign in to comment.