Skip to content

Commit

Permalink
Clear window before drawing the three channel view to prevent blurring.
Browse files Browse the repository at this point in the history
  • Loading branch information
blast007 committed Feb 17, 2025
1 parent ade47c9 commit b3d71fd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/bzflag/playing.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -6278,6 +6278,9 @@ void drawFrame(const float dt)
// draw frame
if (viewType == SceneRenderer::ThreeChannel)
{
#if !defined(DEBUG_RENDERING)
glClear(GL_COLOR_BUFFER_BIT);
#endif
// draw center channel
sceneRenderer->render(false);
drawUI();
Expand Down

0 comments on commit b3d71fd

Please sign in to comment.