Jump to content

D3D11AppWall::destroy_context()


photo

Recommended Posts

add this -data_path "$(ProjectDir)../../../../../data" -data_path "$(ProjectDir)../../data" -data_path "$(ProjectDir)/data"  -extern_plugin AppWall

in any sample in c++ sdk

and in D3D11AppWall::destroy_context() will produce this error

Link to comment

hi @morbid

here is the dx11 log 

i use the code below 

#if defined(DEBUG) || defined(_DEBUG)
        ID3D11Debug* d3dDebug;
        HRESULT hr = device->QueryInterface(__uuidof(ID3D11Debug), reinterpret_cast<void**>(&d3dDebug));
        if (SUCCEEDED(hr))
        {
            hr = d3dDebug->ReportLiveDeviceObjects(D3D11_RLDO_DETAIL);
        }
        if (d3dDebug != nullptr)            d3dDebug->Release();
#endif

        UINT num = device->Release();
        if (num != 0)
            Log::error("D3D11AppWall::destroy_context(): %d unreleased references\n", num);
        device = NULL;

dx11_log.txt

Link to comment
×
×
  • Create New...