Rework internal module registration to happen in constructors.

This commit is contained in:
Sasha Szpakowski
2024-02-24 15:21:38 -04:00
parent c7e4dafd88
commit 1e97e09b28
73 changed files with 154 additions and 248 deletions
+2 -1
View File
@@ -263,7 +263,8 @@ struct DefaultVertexAttributes
Graphics *Graphics::graphicsInstance = nullptr;
Graphics::Graphics()
: device(nil)
: love::graphics::Graphics("love.graphics.metal")
, device(nil)
, commandQueue(nil)
, commandBuffer(nil)
, renderEncoder(nil)