13 Jun
2024
13 Jun
'24
5:05 p.m.
On Thu Jun 13 12:18:42 2024 +0000, Connor McAdams wrote:
I've changed it to be more in line with what you've posted here, let me know if it's better. :) Actually I've just realized what I have now as:
err:
if (staging_tex)
IDirect3DTexture9_Release(staging_tex);
else if (tex)
IDirect3DTexture9_Release(tex);
return hr;
could probably just be simplified to ``` err: if (tex) IDirect3DTexture9_Release(tex); return hr; ``` Doh. Sorry to keep changing things up. :) -- https://gitlab.winehq.org/wine/wine/-/merge_requests/5801#note_73080