mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-15 07:00:58 +00:00
Fixed Imgui rendering
This commit is contained in:
parent
274766f5d5
commit
69a27458a0
1 changed files with 9 additions and 0 deletions
|
@ -1746,6 +1746,15 @@ void idRenderBackend::StereoRenderExecuteBackEndCommands( const emptyCommand_t*
|
|||
|
||||
void idRenderBackend::ImGui_RenderDrawLists( ImDrawData* draw_data )
|
||||
{
|
||||
if( draw_data->CmdListsCount == 0 )
|
||||
{
|
||||
// Nothing to do.
|
||||
return;
|
||||
}
|
||||
|
||||
#if IMGUI_BFGUI
|
||||
tr.guiModel->EmitImGui( draw_data );
|
||||
#endif
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue