metal: fix Texture:setWrap/setFilter

This commit is contained in:
Alex Szpakowski
2021-03-25 20:41:05 -03:00
parent 4639e7330e
commit e1d5f3b010
+3
View File
@@ -254,6 +254,9 @@ void Texture::readbackImageData(love::image::ImageData *imagedata, int slice, in
void Texture::setSamplerState(const SamplerState &s)
{ @autoreleasepool {
// Base class does common validation and assigns samplerState.
love::graphics::Texture::setSamplerState(s);
sampler = Graphics::getInstance()->getCachedSampler(s);
}}