Este sitio web funciona mejor con JavaScript.
Inicio
Ayuda
Iniciar sesión
lolengine
/
lol
réplica de
https://github.com/lolengine/lol
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
Make the editor more responsive by handling GTK events before waiting for
the loop to complete.
legacy
Sam Hocevar
sam
hace 15 años
padre
601ce07746
commit
a156dd810e
Se han
modificado 2 ficheros
con
3 adiciones
y
0 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+2
-0
src/gtk/editor.cpp
+1
-0
src/ticker.cpp
+ 2
- 0
src/gtk/editor.cpp
Ver fichero
@@ -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 fichero
@@ -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();
Escribir
Vista previa
Cargando…
Cancelar
Guardar