Commit 05175a4
authored
Fix for vulkan_create_swapchain() not clearing flag (fixes random crashes with fast forwarding) (#18295)
* improved vulkan_create_swapchain() to handle swapchain creation better and avoid crashes
* As requested by PR review, reverted back to original create_swapchain function with only minimal changes made for this bug fix on Android only
* fixed oepsie with copy paste
* fixed oepsie with copy paste
* Fixed random crash on Android when destroying old swapchain before new one is created with minimal changes to original vulkan_create_swapchain() function
* Restored all my initial changes without all the reformatting of the code (#3)
* The VK_DATA_FLAG_CREATED_NEW_SWAPCHAIN should be cleared otherwise every call to this function can be handled as a new swapchain creation while it might not be the case, it fixes crashes on Android1 parent 36a4c83 commit 05175a4
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2371 | 2371 | | |
2372 | 2372 | | |
2373 | 2373 | | |
2374 | | - | |
| 2374 | + | |
| 2375 | + | |
| 2376 | + | |
2375 | 2377 | | |
2376 | 2378 | | |
2377 | 2379 | | |
| |||
0 commit comments