mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 15:45:29 +00:00
Fixed NRE on mode.ToString().
This commit is contained in:
parent
8818828511
commit
523b712cec
|
@ -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