From 9648ceea09510421ddefa7acdc70e80f93d856d8 Mon Sep 17 00:00:00 2001 From: Daniel Li Date: Fri, 29 Nov 2024 08:05:57 +0800 Subject: [PATCH] Remove _DEBUG_x86 for optimization As we have "-v --verbose Show debug infot" control, so remove hardcoded _DEBUG_x86 --- osd/util/Render_x86.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/osd/util/Render_x86.c b/osd/util/Render_x86.c index 28680dd..fbd5ec8 100644 --- a/osd/util/Render_x86.c +++ b/osd/util/Render_x86.c @@ -1,5 +1,3 @@ -//Uncomment when debugging to have access to the windows below the OSD surface -//#define _DEBUG_x86 #include #include @@ -70,9 +68,6 @@ void event_callback(evutil_socket_t fd, short event, void *arg) { int Init_x86(uint16_t *width, uint16_t *height) { if (verbose) forcefullscreen=false; -#ifdef _DEBUG_x86 - forcefullscreen=false; -#endif #ifdef _x86 setenv("DISPLAY", ":0", 0);