mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Rework internal module registration to happen in constructors.
This commit is contained in:
@@ -180,8 +180,9 @@ Graphics::DisplayState::DisplayState()
|
||||
defaultSamplerState.mipmapFilter = SamplerState::MIPMAP_FILTER_LINEAR;
|
||||
}
|
||||
|
||||
Graphics::Graphics()
|
||||
: width(0)
|
||||
Graphics::Graphics(const char *name)
|
||||
: Module(M_GRAPHICS, name)
|
||||
, width(0)
|
||||
, height(0)
|
||||
, pixelWidth(0)
|
||||
, pixelHeight(0)
|
||||
|
||||
Reference in New Issue
Block a user