Fixed NRE on mode.ToString().

This commit is contained in:
the_fiddler 2008-01-06 11:02:38 +00:00
parent da376d14f5
commit b257b57494

View file

@ -352,7 +352,7 @@ namespace OpenTK.Platform.X11
if (exists)
throw new ApplicationException("Render window already exists!");
Debug.Print("Creating GameWindow with mode: {0}", mode.ToString());
Debug.Print("Creating GameWindow with mode: {0}", mode != null ? mode.ToString() : "default");
Debug.Indent();
//glContext = new X11GLContext(mode, window);