mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-12 15:57:51 +00:00
Texture Cache: Fix ASTC textures
This commit is contained in:
parent
7d3f6ba53d
commit
a1317c3a6e
3 changed files with 7 additions and 7 deletions
|
@ -231,7 +231,7 @@ void ApplySwizzle(GLuint handle, PixelFormat format, std::array<SwizzleSource, 4
|
|||
|
||||
[[nodiscard]] bool CanBeAccelerated(const TextureCacheRuntime& runtime,
|
||||
const VideoCommon::ImageInfo& info) {
|
||||
if (IsPixelFormatASTC(info.format) && !runtime.HasNativeASTC()) {
|
||||
if (IsPixelFormatASTC(info.format) && info.size.depth == 1 && !runtime.HasNativeASTC()) {
|
||||
return Settings::values.accelerate_astc.GetValue() &&
|
||||
!Settings::values.async_astc.GetValue();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue