Fixed Imgui rendering

This commit is contained in:
Robert Beckebans 2022-03-14 16:34:38 +01:00
parent 274766f5d5
commit 69a27458a0

View file

@ -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
}
/*