From 046a38ec62b2db43ab39bc09afd502ea6434c5f3 Mon Sep 17 00:00:00 2001 From: Ian Date: Sun, 12 Nov 2023 15:21:06 -0500 Subject: [PATCH] No need to call pglRestoreContext anymore --- source/in_ctr.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/source/in_ctr.c b/source/in_ctr.c index dff99bf..1dde12d 100644 --- a/source/in_ctr.c +++ b/source/in_ctr.c @@ -218,7 +218,5 @@ void IN_SwitchKeyboard(void) swkbdSetButton(&swkbd, SWKBD_BUTTON_RIGHT, "Send", true); button = swkbdInputText(&swkbd, console_buffer, sizeof(console_buffer)); - pglRestoreContext(); - Cbuf_AddText(va("%s\n", console_buffer)); } \ No newline at end of file