I am getting a crash when closing the test renderer window at
ExitProcess(0);) in the code tagged
day472. It happens most of the time, but not every time.
Exception thrown at 0x00007FFDE7DED1CC (igxelpicd64.dll) in win32_renderer_test.exe: 0xC0000005: Access violation reading location 0x00000000000356F8.
It did not crash there in the previous commit. I assume it is to do with the change to rendering in a separate thread but I thought
ExitProcess should kill all the threads. If I insert
ExitProcess(0); it no longer crashes.
The commit tagged
day478 solves the crash. I guess some of the changes to OpenGL solved the issue, but I'm not sure how.
Any idea what is going on here? How would I go about fixing this prior to
day478 without adding
- Windows 10.0.19045 Build 19045
- Intel(R) Iris(R) Xe Graphics