Open
Description
if (bConverToSRGB) { // convert the source image into srgb to store on disk D3D11_TEXTURE2D_DESC texDesc = {}; tex._tex2D->GetDesc(&texDesc); if (!SUCCEEDED(DirectX::Convert( *imgOut , DXGI_FORMAT_R8G8B8A8_UNORM_SRGB , 0 , 0.0f , *imgOutSRGB ))) { assert(false); } }
here's code, and when i compile it this error shows up "E0304 There are no instances of the "DirectX::Convert" overloaded function matching the argument list
Renderer G:\GameEngines\VQEngine-dev\Source\Renderer\Source\Renderer.cpp 1125"(maybe it is misspelled because i translated error text in google translator)
Metadata
Metadata
Assignees
Labels
No labels