flaw-dx11/Flaw/Graphics/DirectX11.hs

Summary

Maintainability
Test Coverage

Reduce duplication
Open

    srvInterface <- book bk $ allocateCOMObject $ with srvDesc $ \srvDescPtr ->
      createCOMObjectViaPtr $ m_ID3D11Device_CreateShaderResourceView deviceInterface (pokeCOMObject resourceInterface) srvDescPtr
Severity: Minor
Found in flaw-dx11/Flaw/Graphics/DirectX11.hs by hlint

Found

srvInterface <- book bk $
                  allocateCOMObject $
                    with srvDesc $
                      \ srvDescPtr ->
                        createCOMObjectViaPtr $
                          m_ID3D11Device_CreateShaderResourceView deviceInterface
                            (pokeCOMObject resourceInterface)
                            srvDescPtr
releaseResourceInterface
samplerState <- book bk $
                  createSamplerState device samplerStateInfo

Perhaps

Combine with flaw-dx11/Flaw/Graphics/DirectX11.hs:552:5

There are no issues that match your filters.

Category
Status