On Sat Mar 23 03:27:56 2024 +0000, Mohamad Al-Jaf wrote:
Thanks, that makes sense but in this case it complicates how to handle the behavior of the function, especially in `d3d9_device_QueryInterface`. It's much simpler to check if the d3d9on12 object is null before doing a QueryInterface. Also, in the same function, how would you check the pD3D12Device value to see if it matches the d3d9 device if there's no d3d9on12 object in struct d3d9?
I'm struggling to understand what you're saying here. Why do you think that "the d3d9on12 object" needs to exist as an object?