mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
metal: fix texture sampler changes not affecting draws using shaders.
This commit is contained in:
@@ -81,7 +81,9 @@ public:
|
||||
struct TextureBinding
|
||||
{
|
||||
id<MTLTexture> texture;
|
||||
id<MTLSamplerState> sampler;
|
||||
|
||||
// Indirect sampler ref in case Texture's sampler state changes.
|
||||
Texture *samplerTexture;
|
||||
|
||||
bool isMainTexture;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user