mirror of
https://git.checksum.fail/alec/erythros
synced 2025-12-12 05:59:53 +02:00
System/Core/Compositor: Hold F12 to display debug info
This commit is contained in:
@@ -1055,8 +1055,8 @@ U0 @compositor_task()
|
|||||||
// Debug stuff
|
// Debug stuff
|
||||||
I64 debug_row;
|
I64 debug_row;
|
||||||
|
|
||||||
if (1 == 2) {
|
if (KeyDown(SC_F12)) {
|
||||||
debug_row = 2;
|
debug_row = 32;
|
||||||
|
|
||||||
total_mem = sys_code_bp->alloced_u8s;
|
total_mem = sys_code_bp->alloced_u8s;
|
||||||
if (sys_data_bp) {
|
if (sys_data_bp) {
|
||||||
@@ -1100,6 +1100,8 @@ U0 @compositor_task()
|
|||||||
" title : %s", Compositor.active_win->title);
|
" title : %s", Compositor.active_win->title);
|
||||||
ConsolePrint2D(Compositor.ctx, 08 * 03, 16 * debug_row++, , ,
|
ConsolePrint2D(Compositor.ctx, 08 * 03, 16 * debug_row++, , ,
|
||||||
" flags : %016b", Compositor.active_win->flags);
|
" flags : %016b", Compositor.active_win->flags);
|
||||||
|
ConsolePrint2D(Compositor.ctx, 08 * 03, 16 * debug_row++, , ,
|
||||||
|
" opacity : %d", Compositor.active_win->opacity);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user