ImGui: Clear memory for font after creating texture
This commit is contained in:
@ -314,6 +314,8 @@ static void ImGui_ImplDX11_CreateFontsTexture()
|
||||
desc.MaxLOD = 0.f;
|
||||
g_pd3dDevice->CreateSamplerState(&desc, &g_pFontSampler);
|
||||
}
|
||||
|
||||
io.Fonts->ClearTexData();
|
||||
}
|
||||
|
||||
bool ImGui_ImplDX11_CreateDeviceObjects()
|
||||
|
||||
Reference in New Issue
Block a user