diff options
| author | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2017-12-27 11:46:55 +0100 |
|---|---|---|
| committer | Jean-Philippe Bruyère <jp_bruyere@hotmail.com> | 2017-12-27 11:46:55 +0100 |
| commit | 45a7a8a40da1231f00c2fcd15b370dabe71e3f8e (patch) | |
| tree | 2e28725e931c60a937c6d386cde6ab5dd33890d7 /Tests/OpenGL | |
| parent | ab207070b2755d07f89106611cf34da34970e529 (diff) | |
replace Debug.WriteLine with consoleMonoEmbed
Diffstat (limited to 'Tests/OpenGL')
| -rw-r--r-- | Tests/OpenGL/Shader.cs | 14 | ||||
| -rw-r--r-- | Tests/OpenGL/Texture.cs | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/Tests/OpenGL/Shader.cs b/Tests/OpenGL/Shader.cs index 6ae99b89..02ea82f6 100644 --- a/Tests/OpenGL/Shader.cs +++ b/Tests/OpenGL/Shader.cs @@ -209,8 +209,8 @@ namespace Crow GL.GetProgramInfoLog(pgmId, out info); if (!string.IsNullOrEmpty (info)) { - Debug.WriteLine ("Linkage:"); - Debug.WriteLine (info); + Console.WriteLine ("Linkage:"); + Console.WriteLine (info); } info = null; @@ -218,8 +218,8 @@ namespace Crow GL.ValidateProgram(pgmId); GL.GetProgramInfoLog(pgmId, out info); if (!string.IsNullOrEmpty (info)) { - Debug.WriteLine ("Validation:"); - Debug.WriteLine (info); + Console.WriteLine ("Validation:"); + Console.WriteLine (info); } GL.UseProgram (pgmId); @@ -302,14 +302,14 @@ namespace Crow string info; GL.GetShaderInfoLog(shader, out info); - Debug.WriteLine(info); + Console.WriteLine(info); int compileResult; GL.GetShader(shader, ShaderParameter.CompileStatus, out compileResult); if (compileResult != 1) { - Debug.WriteLine("Compile Error!"); - Debug.WriteLine(source); + Console.WriteLine("Compile Error!"); + Console.WriteLine(source); } } public override string ToString () diff --git a/Tests/OpenGL/Texture.cs b/Tests/OpenGL/Texture.cs index ce24808b..1656ad00 100644 --- a/Tests/OpenGL/Texture.cs +++ b/Tests/OpenGL/Texture.cs @@ -60,7 +60,7 @@ namespace Crow GL.GenerateMipmap (GenerateMipmapTarget.Texture2D); } catch (Exception ex) { - Debug.WriteLine ("Error loading texture: " + Map + ":" + ex.Message); + Console.WriteLine ("Error loading texture: " + Map + ":" + ex.Message); } } } |