diff options
| author | salmonik <salmonik@tuta.io> | 2026-11-03 23:10:38 +0100 |
|---|---|---|
| committer | salmonik <salmonik@tuta.io> | 2026-11-03 23:10:38 +0100 |
| commit | 4dc16adda03b780c3a1f8038e7cbe94f4a61d5f8 (patch) | |
| tree | 0782ff1e77ebac7cf393f6e8cd1da7047f037a3f /src/menu.cpp | |
| parent | AI: fix relationship lookup; classify citizen/hacked turrets (diff) | |
| download | hl2h-4dc16adda03b780c3a1f8038e7cbe94f4a61d5f8.tar.gz hl2h-4dc16adda03b780c3a1f8038e7cbe94f4a61d5f8.zip | |
Remove temporary crash-stage markers
Diffstat (limited to '')
| -rw-r--r-- | src/menu.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/menu.cpp b/src/menu.cpp index e48fee0..9a249f8 100644 --- a/src/menu.cpp +++ b/src/menu.cpp | |||
| @@ -699,24 +699,9 @@ void fullbright_update() { | |||
| 699 | // (see hkdDrawPrintText hook in hl2h.cpp): we wrap our draws in | 699 | // (see hkdDrawPrintText hook in hl2h.cpp): we wrap our draws in |
| 700 | // PushMakeCurrent/PopMakeCurrent so they are submitted with a clean clip. | 700 | // PushMakeCurrent/PopMakeCurrent so they are submitted with a clean clip. |
| 701 | void outer_draw() { | 701 | void outer_draw() { |
| 702 | static bool outer_enter = false; | ||
| 703 | if (!outer_enter) { | ||
| 704 | outer_enter = true; | ||
| 705 | logf("outer_draw: enter"); | ||
| 706 | } | ||
| 707 | poll_keyboard(); | 702 | poll_keyboard(); |
| 708 | fullbright_update(); | 703 | fullbright_update(); |
| 709 | static bool fb_done = false; | ||
| 710 | if (!fb_done) { | ||
| 711 | fb_done = true; | ||
| 712 | logf("outer_draw: after fullbright"); | ||
| 713 | } | ||
| 714 | gui_handle_input(); | 704 | gui_handle_input(); |
| 715 | static bool gui_done = false; | ||
| 716 | if (!gui_done) { | ||
| 717 | gui_done = true; | ||
| 718 | logf("outer_draw: after gui input"); | ||
| 719 | } | ||
| 720 | // HL2H_DRAW_TEST=1 draws a probe rect without needing the GUI open | 705 | // HL2H_DRAW_TEST=1 draws a probe rect without needing the GUI open |
| 721 | static bool draw_test = getenv("HL2H_DRAW_TEST") != nullptr; | 706 | static bool draw_test = getenv("HL2H_DRAW_TEST") != nullptr; |
| 722 | bool esp_on = feature_active(FEAT_ESP); | 707 | bool esp_on = feature_active(FEAT_ESP); |
