Kawe Mazidjatari 165d80c541 Fix rare ImGui crash on shutdown
The 'DirectX_Init()' call was performed late in code, shortly after the window has been created (at this point all device objects and window handles are valid), but the 'DirectX_Shutdown()' call was performed on DLL_DETACH, which was way too late, as the objects were already destroyed at this point. This wasn't an issue before, as we created our own objects in the old DX code. But due to optimizations, we were using the same pointers as the game (noticeable performance boost), but did not adjust the shutdown to accommodate the changes. The shutdown is now performed while the device objects and window handles are valid. Code has been tested on Nvidia and AMD systems, and has confirmed to fix the aforementioned issues.
2023-06-18 22:16:43 +02:00
..
2023-05-29 21:41:17 +02:00
2023-05-10 00:05:38 +02:00
2023-05-10 00:05:38 +02:00
2023-05-10 00:05:38 +02:00
2023-05-10 00:05:38 +02:00
2023-03-20 00:17:29 +01:00
2023-06-13 17:43:32 +02:00
2023-06-13 17:43:32 +02:00
2023-05-15 18:00:51 +02:00
2023-06-18 22:16:43 +02:00
2023-06-04 22:00:15 +02:00
2023-03-20 00:17:29 +01:00
2022-04-10 19:59:34 +02:00