Ignore:
Timestamp:
Aug 16, 2010, 2:36:34 AM (11 years ago)
Author:
sam
Message:

Make the editor more responsive by handling GTK events before waiting for
the loop to complete.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gtk/editor.cpp

    r123 r124  
    8383        Ticker::TickRender();
    8484        gtk_gl_area_swapbuffers(GTK_GL_AREA(widget));
     85        while (g_main_context_iteration(NULL, FALSE))
     86            ;
    8587        Ticker::ClampFps(FPS);
    8688    }
Note: See TracChangeset for help on using the changeset viewer.