mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
vulkan: properly implement samplers
This commit is contained in:
@@ -139,6 +139,10 @@ struct SamplerState
|
||||
static bool getConstant(const char *in, WrapMode &out);
|
||||
static bool getConstant(WrapMode in, const char *&out);
|
||||
static std::vector<std::string> getConstants(WrapMode);
|
||||
|
||||
bool operator==(const SamplerState& other) const {
|
||||
return memcmp(this, &other, sizeof(SamplerState)) == 0;
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user