mirror of
https://github.com/love2d/love.git
synced 2026-08-18 11:44:15 +02:00
don't use optional for debugName
This commit is contained in:
@@ -195,7 +195,7 @@ public:
|
||||
bool renderTarget = false;
|
||||
bool computeWrite = false;
|
||||
OptionalBool readable;
|
||||
Optional<std::string> debugName;
|
||||
std::string debugName;
|
||||
};
|
||||
|
||||
struct Slices
|
||||
@@ -290,7 +290,7 @@ public:
|
||||
|
||||
Quad *getQuad() const;
|
||||
|
||||
const Optional<std::string> &getDebugName() const { return debugName; }
|
||||
const std::string &getDebugName() const { return debugName; }
|
||||
|
||||
static int getTotalMipmapCount(int w, int h);
|
||||
static int getTotalMipmapCount(int w, int h, int d);
|
||||
@@ -347,7 +347,7 @@ protected:
|
||||
|
||||
int64 graphicsMemorySize;
|
||||
|
||||
Optional<std::string> debugName;
|
||||
std::string debugName;
|
||||
|
||||
}; // Texture
|
||||
|
||||
|
||||
Reference in New Issue
Block a user