Este site funciona melhor com JavaScript.
Página inicial
Ajuda
Acessar
lolengine
/
lol
espelhamento de
https://github.com/lolengine/lol
Observar
1
Favorito
0
Fork
0
Código
Issues
0
Versões
0
Wiki
Atividade
Ver código fonte
Make the editor more responsive by handling GTK events before waiting for
the loop to complete.
legacy
Sam Hocevar
sam
14 anos atrás
pai
601ce07746
commit
a156dd810e
2 arquivos alterados
com
3 adições
e
0 exclusões
Visão dividida
Opções de diferenças
Mostrar estatísticas
Baixar arquivo de patch
Baixar arquivo de diferenças
+2
-0
src/gtk/editor.cpp
+1
-0
src/ticker.cpp
+ 2
- 0
src/gtk/editor.cpp
Ver arquivo
@@ -82,6 +82,8 @@ static gint draw(GtkWidget *widget, GdkEventExpose *event)
Video::Clear();
Ticker::TickRender();
gtk_gl_area_swapbuffers(GTK_GL_AREA(widget));
while (g_main_context_iteration(NULL, FALSE))
;
Ticker::ClampFps(FPS);
}
+ 1
- 0
src/ticker.cpp
Ver arquivo
@@ -73,6 +73,7 @@ void Ticker::TickGame()
{
Profiler::Stop(Profiler::STAT_TICK_FRAME);
Profiler::Start(Profiler::STAT_TICK_FRAME);
Profiler::Start(Profiler::STAT_TICK_GAME);
data->delta_time = data->timer.GetSeconds();
Escrever
Pré-visualização
Carregando…
Cancelar
Salvar