mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 18:05:37 +00:00
Fixed NRE on mode.ToString().
This commit is contained in:
parent
da376d14f5
commit
b257b57494
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue