Debug message when creating default GraphicsMode.

This commit is contained in:
the_fiddler 2008-03-23 12:55:33 +00:00
parent e295acdd37
commit 7493aeb412

View file

@ -9,6 +9,7 @@
using System;
using System.Collections.Generic;
using System.Text;
using System.Diagnostics;
namespace OpenTK.Graphics
{
@ -296,7 +297,11 @@ namespace OpenTK.Graphics
get
{
if (defaultMode == null)
{
Debug.Print("Creating default GraphicsMode ({0}, {1}, {2}, {3}, {4}, {5}, {6}).", DisplayDevice.Default.BitsPerPixel,
16, 0, 0, 0, 2, false);
defaultMode = new GraphicsMode(DisplayDevice.Default.BitsPerPixel, 16, 0, 0, 0, 2, false);
}
return defaultMode;
}
}