diff --git a/vkFFT/vkFFT/vkFFT_PlanManagement/vkFFT_API_handles/vkFFT_UpdateBuffers.h b/vkFFT/vkFFT/vkFFT_PlanManagement/vkFFT_API_handles/vkFFT_UpdateBuffers.h index 7870152..dcf7b4d 100644 --- a/vkFFT/vkFFT/vkFFT_PlanManagement/vkFFT_API_handles/vkFFT_UpdateBuffers.h +++ b/vkFFT/vkFFT/vkFFT_PlanManagement/vkFFT_API_handles/vkFFT_UpdateBuffers.h @@ -685,7 +685,7 @@ static inline VkFFTResult VkFFTCheckUpdateBufferSet(VkFFTApplication* app, VkFFT if ((app->configuration.isOutputFormatted) && (app->configuration.outputBuffer == 0)) { performBufferSetUpdate = 0; } - if ((app->configuration.userTempBuffer) && (app->configuration.tempBuffer == 0)) { + if (((app->configuration.userTempBuffer) && (app->configuration.tempBuffer == 0)) || (app->configuration.allocateTempBuffer)){ performBufferSetUpdate = 0; } if ((app->configuration.performConvolution) && (app->configuration.kernel == 0)) {