From c25f206fbbe0305efb1eb64fa2f377f9c898b7e7 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Wed, 1 Sep 2010 04:13:36 +0000 Subject: [PATCH] - Disable framebuffer debug spew. All those OutputDebugString messages from DCanvas::DrawLine()'s Lock and Unlock calls were slowing things down extremely when looking at a software-drawn automap. SVN r2661 (trunk) --- src/win32/win32iface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win32/win32iface.h b/src/win32/win32iface.h index 62f06fa99..6193c641c 100644 --- a/src/win32/win32iface.h +++ b/src/win32/win32iface.h @@ -504,7 +504,7 @@ enum #define LOG4(x,y,z,a,b) do { if (dbg) { fprintf (dbg, x, y, z, a, b); fflush (dbg); } } while(0) #define LOG5(x,y,z,a,b,c) do { if (dbg) { fprintf (dbg, x, y, z, a, b, c); fflush (dbg); } } while(0) FILE *dbg; -#elif _DEBUG +#elif _DEBUG && 0 #define STARTLOG #define STOPLOG #define LOG(x) { OutputDebugString(x); }