Skip to content

Commit 8e64845

Browse files
authored
Make sure to close the g3 frame (scp-fs2open#6825)
1 parent bdde909 commit 8e64845

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

code/radar/radarorb.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,6 +426,9 @@ void HudGaugeRadarOrb::render(float /*frametime*/, bool config)
426426
// For now config view stops here but it should be doable to have
427427
// this render the orb outlines using the next two functions eventually
428428
if (config) {
429+
if(g3_yourself)
430+
g3_end_frame();
431+
429432
return;
430433
}
431434

0 commit comments

Comments
 (0)