Skip to content

Commit

Permalink
Clear color to black also on GL
Browse files Browse the repository at this point in the history
  • Loading branch information
enen92 committed Oct 28, 2024
1 parent ee95737 commit 373d6be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Pyro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,9 @@ void CScreensaverPyro::Render()
UINT strides = sizeof(MYCUSTOMVERTEX), offsets = 0;
m_pContext->IASetVertexBuffers(0, 1, &m_pVBuffer, &strides, &offsets);
m_pContext->PSSetShader(m_pPShader, nullptr, 0);
#else
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT);
#endif

int g = 100;
Expand Down

0 comments on commit 373d6be

Please sign in to comment.