Revert "internal/graphicsdriver/directx: bug fix: check the error at CreateGraphicsPipelineState at initialization"

This reverts commit c183555cc8.

Reason: this didn't help anything on the reporter's machine
This commit is contained in:
Hajime Hoshi 2022-07-31 00:46:26 +09:00
parent 95fb4370db
commit 2aa595de52

View File

@ -294,11 +294,6 @@ func (g *Graphics) initializeDesktop(useWARP bool, useDebugLayer bool) (ferr err
}
i.Dispose()
// Check whether an unexpected error happens or not: DXGI_ERROR_DEVICE_HUNG (#2198).
if _, err := g.pipelineStates.builtinGraphicsPipelineState(g.device, builtinPipelineStatesKey{}); err != nil {
return err
}
return nil
}