chore(Core): oxford commas are important
This commit is contained in:
parent
ef74e6a953
commit
7220f367fd
1 changed files with 2 additions and 2 deletions
|
|
@ -357,7 +357,7 @@ pub fn deinit(entities: *mach.Entities.Mod, core: *Mod) !void {
|
||||||
|
|
||||||
// GPU backend (ie. d3d12, metal, opengl, vulkan)
|
// 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
|
// Otherwise, we enter a race condition where GPU might try to present
|
||||||
// to the window server.
|
// to the window server.
|
||||||
state.swap_chain.release();
|
state.swap_chain.release();
|
||||||
|
|
@ -367,7 +367,7 @@ pub fn deinit(entities: *mach.Entities.Mod, core: *Mod) !void {
|
||||||
state.adapter.release();
|
state.adapter.release();
|
||||||
state.instance.release();
|
state.instance.release();
|
||||||
|
|
||||||
// Platform (ie. Windows, MacOS, Linux X11 or Wayland)
|
// Platform (ie. Windows, MacOS, Linux X11, or Wayland)
|
||||||
state.platform.deinit();
|
state.platform.deinit();
|
||||||
|
|
||||||
state.events.deinit();
|
state.events.deinit();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue