summaryrefslogtreecommitdiffstats
path: root/src/menu.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/menu.cpp15
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.
701void outer_draw() { 701void 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);