Skip to content

Commit

Permalink
bugfix (Segmentation fault with 1.3.3 #150)
Browse files Browse the repository at this point in the history
  • Loading branch information
DTolm committed Jan 15, 2024
1 parent ebb3cd3 commit 452157d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 452157d

Please sign in to comment.