mirror of
https://github.com/love2d/love.git
synced 2026-08-18 03:34:23 +02:00
Use C++11's in-line member initializers instead of default constructors with initializer lists, for some structs.
--HG-- branch : minor
This commit is contained in:
@@ -60,10 +60,8 @@ public:
|
||||
|
||||
struct Flags
|
||||
{
|
||||
bool mipmaps;
|
||||
bool sRGB;
|
||||
|
||||
Flags() : mipmaps(false), sRGB(false) {}
|
||||
bool mipmaps = false;
|
||||
bool sRGB = false;;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user