mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
Rework internal module registration to happen in constructors.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user