nipkownix / re4_tweaks

Fixes and tweaks for the "UHD" port of Resident Evil 4
zlib License
341 stars 32 forks source link

PickupTransparency: fixes #324 by disabling on D3D device loss #325

Closed emoose closed 2 years ago

emoose commented 2 years ago

Seems to fix the crash for me, like mentioned in #324 the transparency for the current screen gets lost on alt-tab, ah well, maybe 9Ex will help with that.

dxvk probably doesn't need this fix since it didn't have the crash issue, was thinking of adding something to detect dxvk so it wouldn't lose transparency, but hopefully it just won't send D3DERR_DEVICELOST in the first place. (E: yep seems it doesn't, nice)

If anyone wants to test it build is up at https://github.com/nipkownix/re4_tweaks/suites/7985352757/artifacts/341833441

nipkownix commented 2 years ago

Oh, totally missed this PR :p Thanks for the quick fix. Nice thinking with checking D3DERR_DEVICELOST, btw.