mirror of
https://github.com/love2d/love.git
synced 2026-08-14 10:13:46 +02:00
vulkan: fix detection of linear filter support for pixel formats
This commit is contained in:
@@ -1104,7 +1104,7 @@ bool Graphics::isPixelFormatSupported(PixelFormat format, uint32 usage)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (usage & PIXELFORMATUSAGE_LINEAR)
|
||||
if (usage & PIXELFORMATUSAGEFLAGS_LINEAR)
|
||||
{
|
||||
if (!(featureFlags & VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user