Matteo Bruni (@Mystral) commented about dlls/d3d9/d3d9on12.c:
+{
- /* IUnknown */
- d3d9on12_QueryInterface,
- d3d9on12_AddRef,
- d3d9on12_Release,
- /* IDirect3DDevice9On12 */
- d3d9on12_GetD3D12Device,
- d3d9on12_UnwrapUnderlyingResource,
- d3d9on12_ReturnUnderlyingResource,
+};
+BOOL d3d9on12_init( struct d3d9on12 **d3d9on12, D3D9ON12_ARGS *override_list, UINT override_entries ) +{
- struct d3d9on12 *object;
- if (!override_entries || override_list->Enable9On12 == FALSE || !override_list->pD3D12Device)
It looks like we don't want the last check in this condition: ``` `pD3D12Device` Optional pointer to the D3D12 Device to use. If this pointer is specified, this override applies to the display adapter with the same adapter LUID as the D3D12 Device. If nullptr is specified and Enable9On12 is TRUE, this override applies to any adapter that doesn’t match another override in the list. ```