dxvk
dxvk copied to clipboard
[DXVK] Fix for crashes on BACK buffer allocation failure due to OOM
Details: To avoid nullptr access on back buffer, its allocation failure exception is now catched to return D3DERR_OUTOFVIDEOMEMORY error on IDirect3DDevice9::Reset. Also on Back buffers destroy and Present paths, back buffer pointer validation was added to avoid accessing nullptr and crash.