bcd4f454
by Elizabeth Figura at 2026-05-19T11:35:46+02:00
vkd3d-utils: Do not call ID3DInclude_Close() for NULL code.
For d3dcompiler_43 and earlier, it is legal to return a NULL code pointer and 0
size from Open(). In this case Close() should not be called.
For versions 46 and 47, this is not legal and causes compilation to return
D3DERR_INVALIDCALL.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=59747