avoid a weird GL warning on OSX

metadata
Wenzel Jakob 2012-10-08 23:11:39 -04:00
parent 09283c9f44
commit 23ba42ae15
1 changed files with 1 additions and 1 deletions

View File

@ -886,7 +886,7 @@ void GLWidget::paintGL() {
m_renderer->setDepthMask(true);
if (m_context == NULL) {
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
m_renderer->clear();
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
m_renderer->setBlendMode(Renderer::EBlendAlpha);
m_renderer->blitTexture(m_logoTexture);
m_renderer->setBlendMode(Renderer::EBlendNone);