diff --git a/GPU/Vulkan/DrawEngineVulkan.cpp b/GPU/Vulkan/DrawEngineVulkan.cpp index 0710c31fef..c4a3be72de 100644 --- a/GPU/Vulkan/DrawEngineVulkan.cpp +++ b/GPU/Vulkan/DrawEngineVulkan.cpp @@ -15,6 +15,7 @@ // Official git repository and contact information can be found at // https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/. +#include "ppsspp_config.h" #include #include @@ -70,7 +71,9 @@ DrawEngineVulkan::DrawEngineVulkan(Draw::DrawContext *draw) : draw_(draw), vai_(1024) { decOptions_.expandAllWeightsToFloat = false; decOptions_.expand8BitNormalsToFloat = false; - decOptions_.alignOutputToWord = draw->GetDeviceCaps().vendor == Draw::GPUVendor::VENDOR_APPLE; +#if PPSSPP_PLATFORM(MAC) || PPSSPP_PLATFORM(IOS) + decOptions_.alignOutputToWord = true; +#endif // Allocate nicely aligned memory. Maybe graphics drivers will appreciate it. // All this is a LOT of memory, need to see if we can cut down somehow.