Commit b9cda7b
Fix for vulkan_create_swapchain() not clearing flag (fixes random crashes with fast forwarding) (libretro#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 (libretro#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 af8a41a commit b9cda7b
1 file changed
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2337 | 2337 | | |
2338 | 2338 | | |
2339 | 2339 | | |
2340 | | - | |
| 2340 | + | |
| 2341 | + | |
| 2342 | + | |
2341 | 2343 | | |
2342 | 2344 | | |
2343 | 2345 | | |
| |||
0 commit comments