renderDX11: fix crash when font tex fails to load

issue #1217
This commit is contained in:
tildearrow 2023-07-09 03:17:57 -05:00
parent 73ea490fdb
commit e2540bf789
5 changed files with 423 additions and 14 deletions

View file

@ -290,8 +290,7 @@ void FurnaceGUIRenderDX11::clear(ImVec4 color) {
}
bool FurnaceGUIRenderDX11::newFrame() {
ImGui_ImplDX11_NewFrame();
return true;
return ImGui_ImplDX11_NewFrame();
}
void FurnaceGUIRenderDX11::createFontsTexture() {