From 78a6993cec070bbb4cf216801f7f273859e51997 Mon Sep 17 00:00:00 2001 From: thefiddler Date: Sat, 26 Apr 2014 19:13:03 +0200 Subject: [PATCH] [GL] Only print debug info in debug mode --- Source/OpenTK/Platform/DesktopGraphicsContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/OpenTK/Platform/DesktopGraphicsContext.cs b/Source/OpenTK/Platform/DesktopGraphicsContext.cs index ca8466a..e33712f 100644 --- a/Source/OpenTK/Platform/DesktopGraphicsContext.cs +++ b/Source/OpenTK/Platform/DesktopGraphicsContext.cs @@ -44,7 +44,7 @@ namespace OpenTK.Platform new OpenTK.Graphics.ES20.GL().LoadEntryPoints(); new OpenTK.Graphics.ES30.GL().LoadEntryPoints(); - Trace.WriteLine(String.Format("Bindings loaded in {0} ms.", time.Elapsed.TotalMilliseconds)); + Debug.WriteLine(String.Format("Bindings loaded in {0} ms.", time.Elapsed.TotalMilliseconds)); } } } -- 2.7.4