You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
The text was updated successfully, but these errors were encountered:
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)
The text was updated successfully, but these errors were encountered: