Tried to my update my window title with some performance metrics for my vulkan renderer with std:stringstream. When i run it tells there's access violattion leading to xtring file funtion size_t length(_In_z_ const _Elem* const _First) where the the _First parameter is null as shown on picture below. Here's the code i wrote
Code:
void ApplicationBaseVk::UpdatePerformanceMatrics()
{
	std::ostringstream osstream;
	osstream << mWindowTitle << " Frametime : " << mDeltaTime << " FPS : " << 1.0f / mDeltaTime;

	glfwSetWindowTitle(mWindow, osstream.str().c_str());
}
Name:  Untitled.jpg
Views: 38
Size:  29.3 KB
Or maybe i've done in wrong way.I'm running latest msvc 2022.Sorry for my bad english.Thank you