Hi! Thank you for your nice DirectX11 tutorials. I'm now traceing it in VisualStudio 2022. As title says, The study-code/directx11/0017_String/main.cpp around line 646-647, g_fontText.push_back(&FontText()) returns error saying ""&" requires l-value". Then I changed the line to;
for (auto it = g_fontFlag.begin(); it != g_fontFlag.end(); ++it)
{
FontText* ft = new FontText();
g_fontText.push_back(ft);
}
but got result as below. Yes, the zenkaku fonts did not appear. Do you have any idea?
And the code returns some warnings like;
Hi! Thank you for your nice DirectX11 tutorials. I'm now traceing it in VisualStudio 2022. As title says, The
study-code/directx11/0017_String/main.cpp
around line 646-647,g_fontText.push_back(&FontText())
returns error saying ""&" requires l-value". Then I changed the line to;but got result as below. Yes, the zenkaku fonts did not appear. Do you have any idea? And the code returns some warnings like;