shithub: choc

Download patch

ref: 222ba923d08f4990dbfd6b24551fcaf11c11f5b6
parent: cbed865a64581ddff5d9182ec77d3be1959c2ee0
author: Turo Lamminen <turol@iki.fi>
date: Thu Sep 8 11:38:42 EDT 2022

setup: Remove unused RestartTextscreen function

--- a/src/setup/display.c
+++ b/src/setup/display.c
@@ -30,7 +30,6 @@
 
 #define WINDOW_HELP_URL "https://www.chocolate-doom.org/setup-display"
 
-extern void RestartTextscreen(void);
 
 typedef struct
 {
--- a/src/setup/mainmenu.c
+++ b/src/setup/mainmenu.c
@@ -319,14 +319,6 @@
     SetWindowTitle();
 }
 
-// Restart the textscreen library.  Used when the video_driver variable
-// is changed.
-
-void RestartTextscreen(void)
-{
-    TXT_Shutdown();
-    InitTextscreen();
-}
 
 // 
 // Initialize and run the textscreen GUI.