Skip to content

Commit

Permalink
Fixed|X11|Canvas: Window refresh does not start properly
Browse files Browse the repository at this point in the history
A paint event needs to be completed before another refresh is scheduled.
With the resize timer preventing painting, window redrawing did not get
started normally.

IssueID #1985
  • Loading branch information
skyjake committed Mar 1, 2015
1 parent a2415db commit 8ac12bf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions doomsday/sdk/libgui/src/canvas.cpp
Expand Up @@ -448,10 +448,6 @@ void Canvas::paintGL()
{
if(!d->parent || d->parent->isRecreationInProgress()) return;

#ifdef LIBGUI_CANVAS_USE_DEFERRED_RESIZE
if(d->resizeTimer.isActive()) return;
#endif

DENG2_ASSERT(QGLContext::currentContext() != 0);

LIBGUI_ASSERT_GL_OK();
Expand Down

0 comments on commit 8ac12bf

Please sign in to comment.