Skip to content

Commit

Permalink
Merge branch 'hotfix/0.7.8b'
Browse files Browse the repository at this point in the history
  • Loading branch information
mkeeter committed Mar 16, 2015
2 parents 9b883bf + 22c30e1 commit 24e0c00
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/ui/viewport/viewport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -443,10 +443,12 @@ void Viewport::pan(QVector3D d)

void Viewport::drawBackground(QPainter* painter, const QRectF& rect)
{
Q_UNUSED(painter);
Q_UNUSED(rect);

painter->beginNativePainting();
glClearColor(0.0, 0.0, 0.0, 0.0);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
painter->endNativePainting();
}

void Viewport::drawForeground(QPainter* painter, const QRectF& rect)
Expand Down

0 comments on commit 24e0c00

Please sign in to comment.